next up previous
Next: Labelling - Label and tick placement option for a Plot
Up: AST Attribute Descriptions
Previous: LabelUnits(axis) - Use axis unit descriptions in a Plot?

LabelUp(axis) - Draw numerical Plot labels upright?   

Description:
This attribute controls the appearance of an annotated coordinate grid (drawn with the astGrid function) by determining whether the numerical labels for each axis of a Plot should be drawn upright or not. It takes a separate value for each physical axis of a Plot so that, for instance, the setting "LabelUp(2)=1" specifies that numerical labels for the second axis should be drawn upright.

If the LabelUp value of a Plot axis is non-zero, it causes numerical labels for that axis to be plotted upright (i.e. as normal, horizontal text), otherwise (the default) these labels rotate to follow the axis to which they apply.

Type:
Integer (boolean).

Class Applicability:
Plot
All Plots have this attribute.

Notes:
  • 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 LabelUp attribute is ignored.
  • If no axis is specified, (e.g. "LabelUp" instead of "LabelUp(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 LabelUp(1) value.



next up previous
Next: Labelling - Label and tick placement option for a Plot
Up: AST Attribute Descriptions
Previous: LabelUnits(axis) - Use axis unit descriptions in a Plot?

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 211
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