GEplotLabelsDesc
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.
GEplotLabelsDesc adds 2 additional arguments with point Labels and Description, so you can add text and values to your graphical object. (see picture of Hurricane Maria trajectory).
% Example:
% GEplotLabelsDesc('my_track',Lat,Lon,names,descs,'o-r','MarkerSize',10,'LineWidth',3)
% GEplotLabelsDesc('my_track',Lat,Lon)
%
% Example2:
% Lat= [-36.3100 -36.3100];
% Lon= [-69.29681667 -69.29685];
% names ={'PM8', 'PM9'};
% desc ={'This is an interesting point', 'This is another point'};
% GEplotLabelsDesc('my_dots',Lat,Lon,names,desc,'or');
Citation pour cette source
Rafael Palacios (2024). GEplotLabelsDesc (https://www.mathworks.com/matlabcentral/fileexchange/65122-geplotlabelsdesc), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.2.0.0 | Added support for multiple lines and multiple polygons. Same as plot, if vectors of coordinates contain NaN values the line is broken into different polygons. |