plscmap1: Set color map1 colors using 8-bit RGB values

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

### `plscmap1`: Set color map1 colors using 8-bit RGB values

`plscmap1` (r, g, b, ncol1);

Set color map1 colors using 8-bit RGB values (see the Section called Color Map1 in Chapter 3). This also sets the number of colors.

`r` (`PLINT *`, input) Pointer to array with set of unsigned 8-bit integers (0-255) representing the degree of red in the color. `g` (`PLINT *`, input) Pointer to array with set of unsigned 8-bit integers (0-255) representing the degree of green in the color. `b` (`PLINT *`, input) Pointer to array with set of unsigned 8-bit integers (0-255) representing the degree of blue in the color. `ncol1` (`PLINT`, input) Number of items in the ``r``, ``g``, and ``b`` arrays.

Redacted form: `plscmap1(r, g, b, ncol1)`

This function is not used in any examples.

Prev | Home | Next
`plscmap0n`: Set number of colors in color map0 | Up | `plscmap1l`: Set color map1 colors using a piece-wise linear relationship