1PLGCOL0(3plplot)                  PLplot API                  PLGCOL0(3plplot)
2
3
4

NAME

6       plgcol0 - Returns 8-bit RGB values for given color index from cmap0
7

SYNOPSIS

9       plgcol0(icol0, r, g, b)
10

DESCRIPTION

12       Returns  8-bit  RGB  values (0-255) for given color from cmap0 (see the
13       PLplot documentation).  Values are negative if an invalid color  id  is
14       given.
15
16       Redacted form: plgcol0(icol0, r, g, b)
17
18       This function is used in example 2.
19

ARGUMENTS

21       icol0 (PLINT(3plplot), input)
22              Index of desired cmap0 color.
23
24       r (PLINT_NC_SCALAR(3plplot), output)
25              Returned value of the 8-bit red value.
26
27       g (PLINT_NC_SCALAR(3plplot), output)
28              Returned value of the 8-bit green value.
29
30       b (PLINT_NC_SCALAR(3plplot), output)
31              Returned value of the 8-bit blue value.
32
33

AUTHORS

35       Many  developers  (who  are  credited at http://plplot.org/credits.php)
36       have contributed to PLplot over its long history.
37

SEE ALSO

39       PLplot documentation at http://plplot.org/documentation.php.
40
41
42
43                                 August, 2021                 PLGCOL0(3plplot)
Impressum