DrawAxes(axis)DrawAxesaxis - Draw axes for a Plot?

Description:
This attribute controls the appearance of an annotated coordinate grid (drawn with the astGridastGrid function) by determining whether curves representing coordinate axes should be drawn. It takes a separate value for each physical axis of a PlotPlot so that, for instance, the setting "DrawAxes(2)=0" specifies that no axis should be drawn for the second axis.

If drawn, these axis lines will pass through any tick marks associated with numerical labels drawn to mark values on the axes. The location of these tick marks and labels (and hence the axis lines) is determined by the Plot's LabelAt(axis)LabelAtaxis attribute.

If the DrawAxes value of a Plot is non-zero (the default), then axis lines will be drawn, otherwise they will be omitted.

Type:
Integer (boolean).
Class Applicability:
Plot
All Plots have this attribute.
Notes:
  • AxisAxis lines are drawn independently of any coordinate grid lines (see the GridGrid attribute) so grid lines may be used to substitute for axis lines if required.

  • In some circumstances, numerical labels and tick marks are drawn around the edges of the plotting area (see the LabellingLabelling attribute). In this case, the value of the DrawAxes attribute is ignored.

  • If no axis is specified, (e.g. "DrawAxes" instead of "DrawAxes(2)"), then a "set" or "clear" operation will affect the attribute value of all the Plot axes, while a "get" or "test" operation will use just the DrawAxes(1) value.