plscmap1n: Set number of colors in color map1

The PLplot Plotting Library: Programmer's Reference Manual
Prev | Chapter 17. The Common API for PLplot | Next

### `plscmap1n`: Set number of colors in color map1

`plscmap1n` (ncol1);

Set number of colors in color map1, (re-)allocate color map1, and set default values if this is the first allocation (see the Section called Color Map1 in Chapter 3).

`ncol1` (`PLINT`, input) Number of colors that will be allocated in the map1 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,21.

Prev | Home | Next
`plscmap1l`: Set color map1 colors using a piece-wise linear relationship | Up | `plscol0`: Set a given color from color map0 by 8 bit RGB value