Mapping Toolbox | ![]() ![]() |
Toggle and control the display of the map grid
Syntax
gridm gridm('on') gridm('off') gridm('reset') gridm(linestyle) gridm(PropertyName,PropertyValue,...)
Description
gridm toggles the visibility of the map grid by setting the map axes property Grid
to 'on'
or 'off'
. The default setting for map axes is 'off'
.
gridm('on') sets the map axes Grid
property to 'on'
.
gridm('off') sets the map axes Grid
property to 'off'
.
gridm('reset') resets the entire grid using the current properties. This is essentially a refresh option.
gridm(linestyle
) sets the map axes GridLineStyle
property to any line style string recognized by the MATLAB line
command.
gridm(PropertyName,PropertyValue
,...)sets the appropriate map axes properties to the desired values. These property names and values are described on the axesm
reference page of this guide.
Remarks
Map grid properties can be also created or altered using the axesm
or setm
commands.
See Also
axesm |
Define map axes and set map properties |
setm |
Set map properties |
![]() | grepfields | grn2eqa | ![]() |