next up previous 524
Next: Establishing Defaults for Plotting Attributes
Up: Specifying a Plotting Style
Previous: Synonyms for Attribute Names


Colour Attributes

The Colour attribute can be used to specify the colours of various components of a plot. The value assigned to the attribute can be:

If no pen is currently available in the palette with the requested colour, then the `nearest' colour will be used instead--sometimes this may not be very near at all! If you specifically want the requested colour, then you should use PALENTRY first to set one of the available pens to the required colour.

Note, if you produce a plot on an X-window and then change the representation of pens using PALENTRY, then any components of the existing plot which were drawn with the modified pens will change colour immediately if an only if your X window is set to 256 colours (i.e. if you have an 8 bit pseudo-colour visual). If you have a 16- or 24-bit display, then changes to pen colours will only affect subsequently drawn graphics.


next up previous 524
Next: Establishing Defaults for Plotting Attributes
Up: Specifying a Plotting Style
Previous: Synonyms for Attribute Names

KAPPA --- Kernel Application Package
Starlink User Note 95
Malcolm J. Currie & David S. Berry
2008 June 14
E-mail:ussc@star.rl.ac.uk

Copyright © 2008 Science and Technology Facilities Council