Chapter Contents

Previous

Next
The GREPLAY Procedure

CDEF Statement


Defines or modifies a color map in the color map catalog.

Requirements: Assign a color map catalog before using the CDEF statement.
See also: CC statement
Featured in: Creating a Color Map



Syntax

CDEF color-map-entry
<color-definition(s)>
<DES='entry-description'>;
color-definition has the following form:
color-number / from-color:to-color

color-definition has the following form: color-number / from-color:to-color


Required Arguments

color-map-entry
identifies an existing or new color map. Color-map-entry is the name of a catalog entry.

If the color map name is not in the color map catalog, then the procedure creates a new color map. If the color map name is already in the color map catalog, then the procedure modifies or adds to that color map.


Options

color-number / from-color:to-color
specifies a color pair and how it is defined.

color-number
specifies the number of a color pair.

from-color:to-color
defines the colors that are being mapped:

from-color
is the color to be mapped.

to-color
is the new color that replaces from-color in the replayed graphics output.

DES='entry-description'
specifies a description of the catalog entry for the color map. The maximum length for the entry-description is 40 characters. By default, the GREPLAY procedure assigns a description of **** NEW COLOR MAP **** to the color map.


Chapter Contents

Previous

Next

Top of Page

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