www.gusucode.com > map 案例源码 matlab代码程序 > map/ProjectStemPlotOnMapAxesExample.m

    %% Project Stem Plot on Map Axes
%  
%%
% Project a stem plot on a map axes.
load coastlines
axesm sinusoid; 
view(3)
h = framem; 
set(h,'zdata',zeros(size(coastlat)))
plotm(coastlat,coastlon)
ptlat = [0 30 30 -50 -78]';
ptlon = [0 30 -70 65 -35]';
ptz = [1 1.5 2 .5 1]';
stem3m(ptlat,ptlon,ptz,'r-')