Graphics Options and Device Parameters Dictionary |
Specifies a color map for the device.
Used in: |
GDEVICE procedure; GDEVICE Colormap window
|
CMAP=('from-color : to-color' <...,'from-color-n :
to-color-n'>)
|
-
from-color
-
specifies the name 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 SAS/GRAPH Colors and Images for information on specifying colors.
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.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.