Mapping Toolbox | ![]() ![]() |
Warp regular matrix map to projected graticule mesh
Syntax
h = meshm(map,maplegend) h = meshm(map,maplegend,PropertyName
,PropertyValue,...) h = meshm(map,maplegend,npts) h = meshm(map,maplegend,npts,alt) h = meshm(map,maplegend,npts,PropertyName
,PropertyValue,...) h = meshm(map,maplegend,npts,alt,PropertyName
,PropertyValue,...)
Description
This command warps a regular matrix map to a graticule mesh, which is itself projected according to the MapProjection
property of the current map axes. The fineness, or resolution, of this grid determines the quality of the projection and the speed of plotting it. There is no hard and fast rule for sufficient graticule resolution, but in general, cylindrical projections need very few graticules points in the longitudinal direction, while complex curve-generating projections require more.
h = meshm(map,maplegend) projects the regular matrix map onto the current map axes. The handle, h
, of the displayed surface can be returned.
h = meshm(map,maplegend,npts) specifies the resolution of the graticule grid. The input npts
is of the form [latitude-points longitude-points]
. The default value of npts
is [50 100]
(the graticule has 50 vertices in the latitude direction and 100 vertices in the longitude direction).
h = meshm(map,maplegend,npts,alt) sets the z-axis altitude of the graticule mesh. alt
can be a scalar, in which case the map is plotted on a z = alt
plane, or alt
can be a matrix of size(alt) = npts
, in which case the graticule mesh is plotted in 3-D.
h = meshm(map,maplegend,PropertyName
,PropertyValue,...) allows the input of property/value pairs to control the surface object properties. Any property supported by the standard MATLAB command surface
except XData
, YData
, and ZData
can be altered in this manner.
Examples
See Also
meshgrat |
Construct map graticule grid |
pcolorm |
Project a matrix map in the z = 0 plane |
surfacem |
Matrix map warped to projected graticule mesh |
surfm |
Matrix map projected a map axes |
![]() | meshlsrm | mfwdtran | ![]() |