Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

showaxes

Toggle display of map coordinate axes

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

See Also

Introduced before R2006a

Was this topic helpful?