GEplot

If you know plot, try GEplot. GEplot uses the same syntax as plot, but draws over Google Earth maps.
3.8K Downloads
Updated 20 Nov 2017

View License

Creates a file in kmz format that can be opened into Google Earth.
GEplot uses the same syntax as the traditional plot function but requires Latitude and Longitude (WGS84) instead of x and y.
Examples:
GEplot('my_track',Lat,Lon);
GEplot('my_track',Lat,Lon,'o-r','MarkerSize',10,'LineWidth',3)
Colors supported: blue, green, red, cyan, magenta, yellow, black, white.
Symbols supported: point, circle, x-mark, plus, star, square, diamond, filled square, filled diamond,filled circle.
Each plot appears as a separate folder within GE; within the folder line and marks are separated in two layer. Hence it is very easy to show/hide different plots.

If you need to convert from UTM to Lat/Lon you may use utm2deg.m, also available at Matlab Central.
If you want to add Labels and Descriptions to your point, use GEplotLabelsDesc.m, also available at Matlab Central

Cite As

Rafael Palacios (2024). GEplot (https://www.mathworks.com/matlabcentral/fileexchange/12948-geplot), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Google Earth in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

% Version 1.2: Added support for multiple lines. Fixed nargchk warning.
% Fixed error in movifile for Matlab version 2017b. Fixed a path error
% for symbol files: folder GEimages

1.0.0.0

Apparently, similar plotting functions are located in Graphics category.