next up previous 530
Next: PALENTRY - Enters a colour into an graphics device's palette
Up: Specifications of KAPPA applications
Previous: OUTSET - Mask pixels inside or outside a specified circle in a two-dimensional NDF


PALDEF - Loads the default palette to a colour table

Description:
This application loads the standard palette  of colours to fill the portion of the current graphics device's  colour table which is reserved for the palette. The palette comprises 16 colours and is intended to provide coloured annotations, borders, axes, graphs etc. that are unaffected by changes to the lookup table  used for images.

The standard palette is as follows 0: Black 1: White 2: Red 3: Green 4: Blue 5: Yellow 6: Magenta 7: Cyan 8-15: Black


Usage:
paldef [device]

Parameters:
DEVICE = DEVICE (Read)
Name of the graphics device to be used. [Current graphics device]

Examples:
paldef
This loads the standard palette into the reserved portion of the colour table of the current graphics device.
paldef xwindows
This loads the standard palette into the reserved portion of the colour table of the xwindows device.

Notes:
  • The effects of this command will only be immediately apparent when run on X windows which have 256 colours (or other similar pseudocolour devices). On other devices (for instance, X windows with more than 256 colours) the effects will only become apparent when subsequent graphics applications are run.


Related Applications :
KAPPA: PALENTRY, PALREAD, PALSAVE.



next up previous 530
Next: PALENTRY - Enters a colour into an graphics device's palette
Up: Specifications of KAPPA applications
Previous: OUTSET - Mask pixels inside or outside a specified circle in a two-dimensional NDF

KAPPA --- Kernel Application Package
Starlink User Note 95
Malcolm J. Currie & David S. Berry
2013 February 14
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council