surfm
Project geolocated data grid on axesm
-based map
Description
surfm(
displays a surface on the current lat
,lon
,Z
)axesm
-based map by warping the
geolocated data grid Z
, with geographic coordinates
lat
and lon
, to a projected graticule mesh. The
color of the surface varies according to the values in Z
. This syntax
displays the surface in a horizontal plane with all height values set to 0.
surfm(___,
specifies
surface properties using one or more name-value pair arguments. For example,
Name,Value
)"FaceAlpha",0.5
creates a semitransparent plot.
returns the
primitive surface object. Use s
= surfm(___)s
to modify the plot after creation. For
a list of properties, see Surface Properties.
Examples
Input Arguments
Output Arguments
Tips
The
FaceColor
property of the surface object depends on the size of the graticule mesh. Thesurfm
function setsFaceColor
to"flat"
when the size of the graticule mesh matches the size ofZ
, and"texturemap"
otherwise.The
surfm
function projects the graticule mesh using the projection specified by theMapProjection
property of theaxesm
-based map. To improve the resolution of the plot, increase the size of the graticule mesh. Increasing the size of the graticule mesh can increase the amount of time MATLAB requires to display the surface.
Version History
Introduced before R2006a