Previous: setcm Up: ../plot79_s.html Next: setcs
SUBROUTINE SETCO (COLOR)
C$ (Set Color)
C$ Define the index of the color required for subsequent
C$ plotting, where "COLOR" is an integer in the range 0..255,
C$ as follows:
C$
C$ Index Color (R G B)
C$ ===== ===== =======
C$ 0 Black (0 0 0), or default for device
C$ 1 Red (1 0 0)
C$ 2 Green (0 1 0)
C$ 3 Yellow (1 1 0)
C$ 4 Blue (0 0 1)
C$ 5 Magenta (1 0 1)
C$ 6 Cyan (0 1 1)
C$ 7 White (1 1 1), or complement of the default.
C$ 8..255 Index into the device-dependent color table.
C$
C$ Color indices 8..255 if selected must be predefined by a
C$ call to SETCI (Set Color Index). The color index will be
C$ ignored for those devices which do not provide color.
C$
C$ Some devices specify color with the subtractive primaries
C$ cyan, magenta, and yellow, rather than the additive
C$ primaries, red, green, and blue. The relationship between
C$ the two is simple: (C M Y) = (1 1 1) - (R G B).
C$
C$ (09-Jan-1991)