A simple color table is also defined C and used for changing the color of a curve in an C XyPlot. The script begins with two procedures - C one for drawing plot objects and one for drawing C text objects. Default is to display output to an X workstation.
C C Create a simple XyPlot object with no labels or borders.
C C Create a TextItem object. C C Draw three labeled boxes at different sizes and in different positions C and with different colors. C C Specify a text string and its color. C C Set the XyPlot curve color. The original plot object is returned unchanged.