MAXCOLORS

Sets the total number of colors that can be displayed at once.
Used by: GDEVICE procedure, GDEVICE Parameters window
Default: device-dependent
See: PENMOUNTS

Syntax

MAXCOLORS=number-of-colors

Parameter Values

number-of-colors
must be an integer in the range 2 through 256. The total number of colors includes the foreground colors plus the background color.

Details

The PENMOUNTS= graphics option overrides the value of MAXCOLORS.