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

|

Introduced before R2006a