plscmap1.3plplot man page

plscmap1 — Set cmap1 colors using 8-bit RGB values

Synopsis

plscmap1(r, g, b, ncol1)

Description

Set cmap1 colors using 8-bit RGB values (see the PLplot documentation).  This also sets the number of colors.

Redacted form: plscmap1(r, g, b)

This function is used in example 31.

Arguments

r (const PLINT *, input)

Pointer to array with set of unsigned 8-bit integers (0-255) representing the degree of red in the color.

g (const PLINT *, input)

Pointer to array with set of unsigned 8-bit integers (0-255) representing the degree of green in the color.

b (const 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.

Authors

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

See Also

PLplot documentation at http://plplot.sourceforge.net/documentation.php.

Info

August, 2015 PLplot API