plscmap0a3plplot
Set cmap0 colors by 8-bit rgb values and plflt alpha transparency value
Usage
plscmap0a(r, g, b, alpha, ncol0)
Overview
Set cmap0 colors using 8-bit RGB values (see the PLplot documentation) and PLFLT alpha transparency value. This sets the entire color map -- only as many colors as specified will be allocated.
Redacted form: plscmap0a(r, g, b, alpha)
This function is used in examples 30.
Arguments
- r (PLINT_VECTOR(3plplot), input)
-
A vector containing unsigned 8-bit integers (0-255) representing the degree of red in the color.
- g (PLINT_VECTOR(3plplot), input)
-
A vector containing unsigned 8-bit integers (0-255) representing the degree of green in the color.
- b (PLINT_VECTOR(3plplot), input)
-
A vector containing unsigned 8-bit integers (0-255) representing the degree of blue in the color.
- alpha (PLFLT_VECTOR(3plplot), input)
-
A vector containing values (0.0-1.0) representing the alpha transparency of the color.
- ncol0 (PLINT(3plplot), input)
-
Number of items in the r, g, b, and alpha vectors.
Releases
9 releases since Debian 5.0 (Lenny); the text changed 8 times.