GESCATTER creates a .kml file that displays colored circles at the locations specified by the vectors LON and LAT similar to ML's builtin function, SCATTER.The color of the circles is scaled relative to the values provided in third input, C.
I searched the FEX's many submissions dealing with exporting .kml files for Google Earth, but didn't find anything that was similar to ML's built-in function, SCATTER...a function I use regularly to visualize scattered data that are too sparse for gridding. This function is relatively easy to use, for example:
%generate some data
x=(0:0.05:6*pi);
lon = -122.170087 + cos(x)*0.01;
lat = 37.455697 + x*0.001;
%color the points according to their latitude
gescatter('foo.kml',lon,lat,lat)
引用格式
Andrew Stevens (2024). GESCATTER (https://www.mathworks.com/matlabcentral/fileexchange/23187-gescatter), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- MATLAB > Graphics > 2-D and 3-D Plots > Data Distribution Plots > Scatter Plots >
- MATLAB > External Language Interfaces > Other languages > Google > Google Earth >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |