sourCEntral - mobile manpages

pdf

PLSCMAP1A

NAME

plscmap1a - Set color map1 colors using 8-bit RGB values and double alpha values.

SYNOPSIS

plscmap1a(r, g, b, a, ncol1)

DESCRIPTION

Set color map1 colors using 8-bit RGB values (see the PLplot documentation) and double alpha values. This also sets the number of colors.

This function is used in example 31.

ARGUMENTS

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 double values (0.0-1.0) representing the alpha value of the color.

ncol1 (PLINT, input)

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

AUTHORS

Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This man page was automatically generated from the DocBook source of the PLplot documentation, maintained by Alan W. Irwin and Rafael Laboissiere.

SEE ALSO

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

pdf