MAPPALETTE

Purpose:

Sets the color palette for shading in the current Window.

Syntax:

MAPPALETTE(series)

 

series  -  Any series specifying the color indices.

Example:

mappalette({3, 12, 4, 0})

 

sets the current Window's palette to: cyan, lred, red, and black.

Remarks:

To assign specific RGB values for a color number, refer to the palette.mac file. MAPPALETTE is identical to SETPALETTE in function. However, because MAPPALETTE accepts a series as the color indices, it can be more useful when creating larger or complicated color palettes.

See Also:

GETPALETTE

SETPALETTE