Code covered by the BSD License  

Highlights from
Google Earth Toolbox

image thumbnail
from Google Earth Toolbox by scott lee davis
Various plotting/drawing functions that can be saved as KML output, and loaded in Google Earth

demo_ge_circle
function demo_ge_circle


X = 4;
R = 5e5;

kmlStr = '';

for Y = 10:10:70
   
   latStr = ['Latitude = ',num2str(Y)];
   
   kmlStr = [kmlStr,ge_circle(X,Y,R,...
                         'divisions',5,...
                             'name',latStr,... 
                        'lineWidth',5.0,...
                        'lineColor','b8ff0b20',...
                        'polyColor','00000000')];
end


kmlFileName = 'demo_ge_circle.kml';

ge_output(kmlFileName,kmlStr,'name',kmlFileName)

Contact us at files@mathworks.com