next up previous
Next: DrawTitle - Draw a title for a Plot?
Up: AST Attribute Descriptions
Previous: Domain - Coordinate system domain

DrawAxes(axis) - Draw axes for a Plot?   

Description:
This attribute controls the appearance of an annotated coordinate grid (drawn with the AST_GRID routine) by determining whether curves representing coordinate axes should be drawn. It takes a separate value for each physical axis of a Plot 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) 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:
  • Axis lines are drawn independently of any coordinate grid lines (see the Grid 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 Labelling 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.



next up previous
Next: DrawTitle - Draw a title for a Plot?
Up: AST Attribute Descriptions
Previous: Domain - Coordinate system domain

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 210
R.F. Warren-Smith & D.S. Berry
30th April 2003
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2003 Central Laboratory of the Research Councils