Palette Variable

This variable is used by the display and connect_plot and plot commands to define a palette of colours for colouring the species in the instruments. If the TCL variable palette is assigned a list of X-windows colours (on many systems, a list of such colours is found in /usr/lib/X11/rgb.txt), then the palette class can be used like an array within C++, returning the colour name as a string:

palette[i]
returns the i%nth colour, where n is the number of colours in the palette list.