`plscmap1n`: Set number of colors in cmap1
Prev | Chapter 17. The Common API for PLplot | Next

#### `plscmap1n`: Set number of colors in cmap1

`plscmap1n (` | ncol1 `)`;

Set number of colors in cmap1, (re-)allocate cmap1, and set default values if this is the first allocation (see the section called “Color Map1”).

`ncol1` (``PLINT``, input)

  Number of colors that will be allocated in the cmap1 palette. If this number is zero or less, then the value from the previous call to `plscmap1n` is used and if there is no previous call, then a default value is used.

Redacted form: `plscmap1n(ncol1)`

This function is used in examples 8, 11, 20, and 21.

Prev | Up | Next
`plscmap1la`: Set cmap1 colors and alpha transparency using a piece-wise linear relationship | Home | `plscol0`: Set 8-bit RGB values for given cmap0 color index