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