1PLSCMAP0(3plplot) PLplot API PLSCMAP0(3plplot)
2
3
4
6 plscmap0 - Set cmap0 colors by 8-bit RGB values
7
9 plscmap0(r, g, b, ncol0)
10
12 Set cmap0 colors using 8-bit RGB values (see the PLplot documentation).
13 This sets the entire color map -- only as many colors as specified will
14 be allocated.
15
16 Redacted form: plscmap0(r, g, b)
17
18 This function is used in examples 2 and 24.
19
21 r (PLINT_VECTOR(3plplot), input)
22 A vector containing unsigned 8-bit integers (0-255) representing
23 the degree of red in the color.
24
25 g (PLINT_VECTOR(3plplot), input)
26 A vector containing unsigned 8-bit integers (0-255) representing
27 the degree of green in the color.
28
29 b (PLINT_VECTOR(3plplot), input)
30 A vector containing unsigned 8-bit integers (0-255) representing
31 the degree of blue in the color.
32
33 ncol0 (PLINT(3plplot), input)
34 Number of items in the r, g, and b vectors.
35
36
38 Many developers (who are credited at http://plplot.org/credits.php)
39 have contributed to PLplot over its long history.
40
42 PLplot documentation at http://plplot.org/documentation.php.
43
44
45
46 July, 2022 PLSCMAP0(3plplot)