PLSCMAP0(3plplot) | PLplot API | PLSCMAP0(3plplot) |
NAME¶
plscmap0 - Set cmap0 colors by 8-bit RGB valuesSYNOPSIS¶
plscmap0(r, g, b, ncol0)DESCRIPTION¶
Set cmap0 colors using 8-bit RGB values (see the PLplot documentation). This sets the entire color map -- only as many colors as specified will be allocated.Redacted form: plscmap0(r, g, b)
This function is used in examples 2,24.
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.
- ncol0 (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.September, 2016 |