next up previous 264
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 labels are drawn parallel to the axis to which they apply.

The default is to produce upright labels if the labels are placed around the edge of the plot, and to produce labels that follow the axes if the labels are placed within the interior of the plot (see attribute Labelling).

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 264
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
24th May 2011
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2009 Science \& Technology Facilities Council