Main Content

showaxes

Toggle display of coordinate axes on axesm-based map

Syntax

showaxes(action)
showaxes

Description

showaxes(action) modifies the Cartesian axes based on the value of action, as defined in the Inputs section below.

showaxes toggles between displaying the default axes ticks on the MATLAB® Cartesian axes and removing the axes ticks.

Input Arguments

action

A character vector or RGB triple that specifies how to modify the Cartesian axes

ValueAction
'on'Displays the MATLAB Cartesian axes and default axes ticks
'off'Removes the axes ticks from the MATLAB Cartesian axes
'hide' Hides the Cartesian axes
'show'Shows the Cartesian axes
'reset'Sets the Cartesian axes to the default settings
'boxoff'Removes axes ticks, color, and box from the Cartesian axes
colorstrSets the Cartesian axes to the color specified by colorstr
colorvecUses colorvec to set the Cartesian axes color

Version History

Introduced before R2006a

See Also