Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

plscmap0n(3plplot) [debian man page]

PLSCMAP0N(3plplot)						    PLplot API							PLSCMAP0N(3plplot)

NAME
plscmap0n - Set number of colors in color map0 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
Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This man page was automatically generated from the DocBook source of the PLplot documentation, maintained by Alan W. Irwin and Rafael Laboissiere. SEE ALSO
PLplot documentation at http://plplot.sourceforge.net/resources. August, 2012 PLSCMAP0N(3plplot)

Check Out this Related Man Page

PLSCOL0(3plplot)						    PLplot API							  PLSCOL0(3plplot)

NAME
plscol0 - Set a given color from color map0 by 8 bit RGB value SYNOPSIS
plscol0(icol0, r, g, b) DESCRIPTION
Set a given color by 8-bit RGB value for color map0 (see the PLplot documentation). Overwrites the previous color value for the given index and, thus, does not result in any additional allocation of space for colors. Redacted form: plscol0(icol0, r, g, b) This function is not used in any examples. ARGUMENTS
icol0 (PLINT, input) Color index. Must be less than the maximum number of colors (which is set by default, by plscmap0n(3plplot), or even by plscmap0(3plplot)). r (PLINT, input) Unsigned 8-bit integer (0-255) representing the degree of red in the color. g (PLINT, input) Unsigned 8-bit integer (0-255) representing the degree of green in the color. b (PLINT, input) Unsigned 8-bit integer (0-255) representing the degree of blue in the color. AUTHORS
Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This man page was automatically generated from the DocBook source of the PLplot documentation, maintained by Alan W. Irwin and Rafael Laboissiere. SEE ALSO
PLplot documentation at http://plplot.sourceforge.net/resources. August, 2012 PLSCOL0(3plplot)
Man Page