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