3-D shaded surface with lighting on map axes
h = surflm(...)
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
a light source vector,
s, and a vector of reflectance
k. For more information on
see the help for
h = surflm(...) returns
a handle to the surface object.
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) load coastlines plotm(coastlat,coastlon,max(topo(:)),... 'LineWidth',1.5,'Color','yellow')
surflm is like
except that it shades the monochrome map surface with a light source,
and the only allowed graticule is the size of the data matrix.