plscmap0n(3plplot)

plscmap0n3plplot

Set number of colors in cmap0

Usage

plscmap0n(ncol0)

Overview

Set number of colors in cmap0 (see the PLplot documentation). Allocate (or reallocate) cmap0, 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, and 24.

Arguments

ncol0 (PLINT(3plplot), input)

Number of colors that will be allocated in the cmap0 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.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 10 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9
  8. 10
  9. 11
  10. 12
  11. 13

Authors

Many developers (who are credited at http://plplot.org/credits.php) have contributed to PLplot over its long history.

From plplot-doc 5.15.0+dfsg2-15 in Debian 13 (Trixie). Parsed by carta from the page's man source.