See procedure docstring for description.
- Plot color table.
Plots a color table given by a loadct index onto the active canvas.
Any previously existing plot in the active canvas is overwritten
and replaced. Color indices 0 to 255 are shown of the color table.
The numbers on the axis of the color table refer to the color
index; color index 0 is the color shown on the color table from
x-axis value 0 to 1, color index 1 is the color shown from x-axis
value 1 to 2, etc.
* ctindex: Index of color table to plot, keyed into the values
used by procedure loadct. To see a list of all available
values, use the command IaGraph.loadct.loadct().
* Plot of color table on screen.
* The active_canvas system variable in IaGraph.Sysvar is set to
the canvas (overwritten if a previous canvas exists) that is
drawn by this procedure. This allows other procedures in
IaGraph to operate on the canvas outside of the IaGraph.plotct
Example to plot rainbow color table (violet to red, 390-680 nm),
then dump plot to Postscript file plot.ps:
from IaGraph.plotct import plotct
||__version__ = '0.3.1.1'|