plscmap0a: Set color map0 colors by 8-bit RGB values and double alpha value.

plscmap0 (r, g, b, a, ncol0);

Set color map0 colors using 8-bit RGB values (see the Section called Color Map0 in Chapter 3) and floating point alpha value. This sets the entire color map – only as many colors as specified will be allocated.

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.

a (PLFLT *, input)

Pointer to array with set of PLFLT values (0.0 - 1.0) representing the transparency of the color.

ncol0 (PLINT, input)

Number of items in the r, g, b, and a arrays.

This function is used in examples 30.