3-D shaded surface with lighting on map axes
h = surflm(...)
surflm(lat,lon,Z) and surflm(latlim,lonlim,Z) are the same as surfm(...) except that they highlight the surface with a light source. The default light source (45 degrees counterclockwise from the current view) and reflectance constants are the same as in surfl.
Project a 3-D shaded surface with lighting on the current map axes. Note that in the following example, the graticule is the size of topo (180 x 360) and is rendered in 3-D, so it might take a while. It is also memory intensive:
figure('Color','white') load topo axesm miller axis off; framem on; gridm on; [lat,lon] = meshgrat(topo,topolegend); surflm(lat,lon,topo) colormap(gray) coast = load('coast'); plotm(coast.lat,coast.long,max(topo(:)),... 'LineWidth',1.5,'Color','yellow')