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

NAME

6       plgcol0a  - Returns 8-bit RGB values and PLFLT alpha transparency value
7       for given color index from cmap0
8

SYNOPSIS

10       plgcol0a(icol0, r, g, b, alpha)
11

DESCRIPTION

13       Returns 8-bit RGB values (0-255) and  PLFLT  alpha  transparency  value
14       (0.0-1.0)  for  given  color from cmap0 (see the PLplot documentation).
15       Values are negative if an invalid color id is given.
16
17       Redacted form: plgcola(r, g, b)
18
19       This function is used in example 30.
20

ARGUMENTS

22       icol0 (PLINT(3plplot), input)
23              Index of desired cmap0 color.
24
25       r (PLINT_NC_SCALAR(3plplot), output)
26              Returned value of the red intensity in the range from 0 to 255.
27
28       g (PLINT_NC_SCALAR(3plplot), output)
29              Returned value of the green intensity in the  range  from  0  to
30              255.
31
32       b (PLINT_NC_SCALAR(3plplot), output)
33              Returned value of the blue intensity in the range from 0 to 255.
34
35       alpha (PLFLT_NC_SCALAR(3plplot), output)
36              Returned  value  of  the  alpha  transparency  in the range from
37              (0.0-1.0).
38
39

AUTHORS

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

SEE ALSO

45       PLplot documentation at http://plplot.org/documentation.php.
46
47
48
49                                 August, 2021                PLGCOL0A(3plplot)
Impressum