1PLSCOL0(3plplot) PLplot API PLSCOL0(3plplot)
2
3
4
6 plscol0 - Set 8-bit RGB values for given cmap0 color index
7
9 plscol0(icol0, r, g, b)
10
12 Set 8-bit RGB values for given cmap0 (see the PLplot documentation) in‐
13 dex. Overwrites the previous color value for the given index and,
14 thus, does not result in any additional allocation of space for colors.
15
16 Redacted form: plscol0(icol0, r, g, b)
17
18 This function is used in any example 31.
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
40 Many developers (who are credited at http://plplot.org/credits.php)
41 have contributed to PLplot over its long history.
42
44 PLplot documentation at http://plplot.org/documentation.php.
45
46
47
48 January, 2021 PLSCOL0(3plplot)