CMAP

Specifies a color map for the device.
Used by: GDEVICE procedure, GDEVICE Colormap window

Syntax

CMAP=('from-color : to-color' <...,'from-color-n : to-color-n'> )

Parameter Values

from-color
specifies the name that you want to assign to the color designated by the color value. In the Colormap window, enter this value in the From field.
to-color
specifies any SAS/GRAPH color name up to eight characters long. In the Colormap window, enter this value in the To field. See Using Colors in SAS/GRAPH Programs for information about specifying colors.

Details

Once you have defined the color mapping, you use the new color name in any color option. For example, if your device entry maps the color name DAFFODIL to the SAS color value PAOY, you can specify the following:
pattern1 color=daffodil;
and the driver will map this to the color value PAOY.