# Toggling the axes: switch_axes

### 13.2.2 Toggling the axes: switch_axes

The switch_axes command shows, hides or toggles the coordinate axes on the graphics screen. This can also be controlled by a show axes checkbox in the configuration panel brought up with the cfg button on the graphic screen control panel.

- switch_axes takes one optional argument:
  n, either 0 or 1.
- switch_axes() toggles whether or not the coordinate axes are show in subsequent graphics screens.
- switch_axes(0) causes all later graphic screens to omit the axes.
- switch_axes(1) causes all later graphic screens to have the axes.

When the axes are visible, they have tick marks whose separation is determined by the X-tick and Y-tick values on the graphic configuration screen. Setting these values to 0 also removes the axes.