Method scmap0a
| Improve this Doc View Sourcescmap0a(Int32[], Int32[], Int32[], Double[])
plscmap0a: Set cmap0 colors by 8-bit RGB values and PLFLT alpha transparency value
Declaration
public void scmap0a(Int32[] r, Int32[] g, Int32[] b, Double[] alpha)
Parameters
Type | Name | Description |
---|---|---|
Int32[] | r | A vector containing unsigned 8-bit integers (0-255) representing the degree of red in the color. |
Int32[] | g | A vector containing unsigned 8-bit integers (0-255) representing the degree of green in the color. |
Int32[] | b | A vector containing unsigned 8-bit integers (0-255) representing the degree of blue in the color. |
Double[] | alpha | A vector containing values (0.0-1.0) representing the alpha transparency of the color. |
Remarks
Set cmap0 colors using 8-bit RGB values (see ) and PLFLT alpha transparency value. This sets the entire color map ndash only as many colors as specified will be allocated.