Previous Page | Next Page

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.


Syntax

CDEF color map entry
<color-definition(s)>
<DES="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 a color map entry.

If the color map entry is not in the color map catalog, then the procedure creates a color map entry. If the color map entry exists in the color map catalog, then the GREPLAY procedure modifies or adds to that color map entry.

See also: CC statement
Featured in: Creating a 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="description"

specifies a catalog entry description for the color map entry. Maximum length for the description is 256 characters.

Default: NEW COLOR MAP

Previous Page | Next Page | Top of Page