1PLSCOL0A(3plplot) PLplot API PLSCOL0A(3plplot)
2
3
4
6 plscol0a - Set a given color from color map0 by 8 bit RGB value and
7 double alpha value.
8
10 plscol0a(icol0, r, g, b, a)
11
13 Set a given color by 8-bit RGB value and double alpha value for color
14 map0 (see the PLplot documentation). 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, 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, input)
27 Unsigned 8-bit integer (0-255) representing the degree of red in
28 the color.
29
30 g (PLINT, input)
31 Unsigned 8-bit integer (0-255) representing the degree of green
32 in the color.
33
34 b (PLINT, input)
35 Unsigned 8-bit integer (0-255) representing the degree of blue
36 in the color.
37
38 a (PLFLT, input)
39 double value (0.0-1.0) representing the alpha value of the
40 color.
41
42
44 Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This
45 man page was automatically generated from the DocBook source of the
46 PLplot documentation, maintained by Alan W. Irwin and Rafael
47 Laboissiere.
48
50 PLplot documentation at http://plplot.sourceforge.net/resources.
51
52
53
54 July, 2010 PLSCOL0A(3plplot)