Toggle display of map coordinate axes




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


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

ValueData TypeAction
'on'stringDisplays the MATLAB Cartesian axes and default axes ticks
'off'stringRemoves the axes ticks from the MATLAB Cartesian axes
'hide' stringHides the Cartesian axes
'show'stringShows the Cartesian axes
'reset'stringSets the Cartesian axes to the default settings
'boxoff'stringRemoves axes ticks, color, and box from the Cartesian axes
colorstrstringSets the Cartesian axes to the color specified by colorstr
colorvecRGB tripleUses colorvec to set the Cartesian axes color

See Also

Was this topic helpful?