1PLSCOL0A(3plplot) PLplot API PLSCOL0A(3plplot)
2
3
4
6 plscol0a - Set 8-bit RGB values and PLFLT alpha transparency value for
7 given cmap0 color index
8
10 plscol0a(icol0, r, g, b, alpha)
11
13 Set 8-bit RGB value and PLFLT alpha transparency value for given cmap0
14 (see the PLplot documentation) index. Overwrites the previous color
15 value for the given index and, thus, does not result in any additional
16 allocation of space for colors.
17
18 This function is used in example 30.
19
21 icol0 (PLINT(3plplot), input)
22 Color index. Must be less than the maximum number of colors
23 (which is set by default, by plscmap0n(3plplot), or even by
24 plscmap0(3plplot)).
25
26 r (PLINT(3plplot), input)
27 Unsigned 8-bit integer (0-255) representing the degree of red in
28 the color.
29
30 g (PLINT(3plplot), input)
31 Unsigned 8-bit integer (0-255) representing the degree of green
32 in the color.
33
34 b (PLINT(3plplot), input)
35 Unsigned 8-bit integer (0-255) representing the degree of blue
36 in the color.
37
38 alpha (PLFLT(3plplot), input)
39 Value of the alpha transparency in the range (0.0-1.0).
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 August, 2019 PLSCOL0A(3plplot)