User`s guide

R2008b
14-6
Original Syntax Replacement Syntax
h = surflm(Z,s)
specifies the direction of the light
source. s is a two- or three-element
vector that specifies the direction from
the surface map to the light source
as defined in the documentation for
surfl.
h = surflm(latlim,lonlim,Z,s)
h = surfm(Z)
constructs a surface using the regular
data grid Z and a graticule mesh
(using meshgrat) with size equal to
size(Z) and with geographic limits
that match the map latitude and
longitude limits in the current map
axes.
h = surfm(latlim,lonlim,Z)
h = surfm(Z,gratsize)
uses a graticule mesh with size equal
to gratsize.
[lat,lon] = meshgrat(latlim,lonlim,gratsize);
h = surfm(lat,lon,Z)