Products & Services Solutions Academia Support User Community Company

Learn more about Mapping Toolbox   

getm - Map object properties

Syntax

mat = getm(h)
mat = getm(h,MapPropertyName)
getm('MapProjection')
getm('axes')
getm('units')

Description

mat = getm(h) returns the map structure of the map axes specified by its handle. If the handle of a child of the map axes is specified, only its properties are returned.

mat = getm(h,MapPropertyName) returns the specified property value.

getm('MapProjection') lists all available projections.

getm('axes') lists the map axes properties by property name.

getm('units') lists the available units.

Examples

Create a default map axes and query a property value:

axesm('mercator','AngleUnits','degrees')
getm(gca,'MapParallels')

ans =
     0

See Also

axesm, setm

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS