plscmap0n.3plplot man page

plscmap0n — Set number of colors in cmap0

Synopsis

plscmap0n(ncol0)

Description

Set number of colors in color map0 (see the PLplot documentation). Allocate (or reallocate) color map0, and fill with default values for those colors not previously allocated. The first 16 default colors are given in the plcol0(3plplot) documentation. For larger indices the default color is red.

The drivers are not guaranteed to support more than 16 colors.

Redacted form: plscmap0n(ncol0)

This function is used in examples 15,16,24.

Arguments

ncol0 (PLINT, input)
Number of colors that will be allocated in the map0 palette. If this number is zero or less, then the value from the previous call to plscmap0n(3plplot) is used and if there is no previous call, then a default value is used.

Authors

Many developers (who are credited at http://plplot.sourceforge.net/credits.p…) have contributed to PLplot over its long history.

See Also

PLplot documentation at http://plplot.sourceforge.net/documenta….

Info

August, 2015 PLplot API