1PLGCOL0A(3plplot) PLplot API PLGCOL0A(3plplot)
2
3
4
6 plgcol0a - Returns 8-bit RGB values and double alpha value for given
7 color from color map0.
8
10 plgcol0a(icol0, r, g, b, a)
11
13 Returns 8-bit RGB values (0-255) and double alpha value (0.0 - 1.0) for
14 given color from color map0 (see the PLplot documentation). Values
15 are negative if an invalid color id is given.
16
17 This function is used in example 30.
18
20 icol0 (PLINT, input)
21 Index of desired cmap0 color.
22
23 r (PLINT *, output)
24 Pointer to 8-bit red value.
25
26 g (PLINT *, output)
27 Pointer to 8-bit green value.
28
29 b (PLINT *, output)
30 Pointer to 8-bit blue value.
31
32 a (PLFLT *, output)
33 Pointer to PLFLT alpha value.
34
35
37 Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This
38 man page was automatically generated from the DocBook source of the
39 PLplot documentation, maintained by Alan W. Irwin and Rafael
40 Laboissiere.
41
43 PLplot documentation at http://plplot.sourceforge.net/resources.
44
45
46
47 July, 2010 PLGCOL0A(3plplot)