set colourkey [<position>]
The setting colourkey determines whether colour scales are drawn along the edges of plots drawn using the colourmap plot style, indicating the mapping between represented values and colours. Note that such scales are only ever drawn when the colourmap plot style is supplied with only three columns of data, since the colour mappings are themselves multi-dimensional when more columns are supplied. Issuing the command
set colourkey
by itself causes such a scale to be drawn on graphs in the default position, usually along the right-hand edge of the graphs. The converse action is achieved by:
set nocolourkey
The command
unset colourkey
causes PyXPlot to revert to its default behaviour, as specified in a configuration file, if present. A position for the key may optionally be specified after the set colourkey command, as in the example:
set colourkey bottom
Recognised positions are top, bottom, left and right. above is an alias for top; below is an alias for bottom and outside is an alias for right.