In the with clause of the plot command, the modifier colour, (abbrev. `c'), allows the colour of each dataset to be manually selected. It should be followed either by an integer, to set a colour from the present palette, or by a colour name. A list of valid colour names is given in section 4.6. For example:
plot sin(x) with c 5 plot sin(x) with colour blue
The colour modifier can also be used when defining linestyles.
PyXPlot has a palette of colours which it assigns sequentially to datasets when colours are not manually assigned. This is also the palette to which integers passed to set colour refer - the `5' above, for example. It may be set using the set palette command, which differs in syntax from gnuplot. It should be followed by a comma-separated list of colours, for example:
set palette red,green,blue
Another way of setting the palette, in a configuration file, is described in section 4.2; a list of valid colour names is given in section 4.6.
Dominic Ford 2006-09-09