plot_ctable

Source: cli/plot/plot_ctable.pro

 plot_ctable
        Set the colour table (or bits of it), for plot traces.

 Usage:
        plot_ctable, red, green,blue[,index]

 Arguments:
        red     byte    The red values for the colour table (or a
                        3x14 array with all the colours).
        green   byte    The green values for the colour table.
        blue    byte    The blue values for the colour table.
        index   int     If present, then all arguments should be
                        scalars and only the specified index will be
                        set. The index must be in the range 2-15.
        global          This setting applies to the global plot
                        environment even if the current dataset has
                        its own.
        dataset         This setting is only applied if the dataset
                        has its own plot object.

 Keyword:
        Default         If set, then restore the default colour table.

 Notes:
        The values supply the indices from 2-15. Indices 0 and 1 are
        set by the set_x_background method for X and hardwired for PS.

 History:
        Original: 24/7/00; SJT
        Add global and dataset keys and use dataset: 27/5/02; SJT



James Tappin 2005-02-04