Chapter Contents

Previous

Next
CMAP

CMAP



Specifies a color map for the device.

Used in: GDEVICE procedure; GDEVICE Colormap window


Syntax
Details

Syntax

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 for information on 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.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.