Name: GRSCI Purpose: set color index Category: GRAPHICS File: pgplot.src Author: T.J. Pearson Use: see description below. Description: SUBROUTINE GRSCI (IC) GRPCKG: Set the color index for subsequent plotting. Calls to GRSCI are ignored for monochrome devices. The default color index is 1, usually white on a black background for video displays or black on a white background for printer plots. The color index is an integer in the range 0 to a device-dependent maximum. Color index 0 corresponds to the background color; lines may be "erased" by overwriting them with color index 0. Color indices 0-7 are predefined as follows: 0 = black (background color), 1 = white (default), 2 = red, 3 = green, 4 = blue, 5 = cyan (blue + green), 6 = magenta (red + blue), 7 = yellow (red + green). The assignment of colors to color indices can be changed with subroutine GRSCR (set color representation). Argument: IC (integer, input): the color index to be used for subsequent plotting on the current device (in range 0-255). If the index exceeds the device-dependent maximum, the result is device-dependent. Updates: Oct 16, 1998: JPT automatically extracted from source.