next up previous
Next: Comment - Include textual comments in output?
Up: AST Attribute Descriptions
Previous: ClipOp - Combine Plot clipping limits using a boolean OR?

Colour(element) - Colour index for a Plot element   

Description:
This attribute determines the colour index used when drawing each element of graphical output produced by a Plot. It takes a separate value for each graphical element so that, for instance, the setting "Colour(title)=2" causes the Plot title to be drawn using colour index 2. The synonym "Color" may also be used.

The range of integer colour indices available and their appearance is determined by the underlying graphics system. The default behaviour is for all graphical elements to be drawn using the default colour index supplied by this graphics system (normally, this is likely to result in white plotting on a black background, or vice versa).

Type:
Integer.

Class Applicability:
Plot
All Plots have this attribute.

Notes:
  • For a list of the graphical elements available, see the description of the Plot class.
  • If no graphical element is specified, (e.g. "Colour" instead of "Colour(title)"), then a "set" or "clear" operation will affect the attribute value of all graphical elements, while a "get" or "test" operation will use just the Colour(TextLab) value.



next up previous
Next: Comment - Include textual comments in output?
Up: AST Attribute Descriptions
Previous: ClipOp - Combine Plot clipping limits using a boolean OR?

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