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

NAME

6       plscmap1 - Set opaque RGB cmap1 colors values
7

SYNOPSIS

9       plscmap1(r, g, b, ncol1)
10

DESCRIPTION

12       Set opaque cmap1 colors (see the PLplot documentation) using RGB vector
13       values.  This function also sets the number of cmap1 colors.  N.B. Con‐
14       tinuous  cmap1  colors  are  indexed with a floating-point index in the
15       range  from  0.0-1.0  which   is   linearly   transformed   (e.g.,   by
16       plcol1(3plplot))  to an integer index of these RGB vectors in the range
17       from 0 to ncol1-1.  So in order for this continuous color model to work
18       properly,  it is the responsibility of the user of plscmap1(3plplot) to
19       insure that these RGB vectors are continuous functions of their integer
20       indices.
21
22       Redacted form: plscmap1(r, g, b)
23
24       This function is used in example 31.
25

ARGUMENTS

27       r (PLINT_VECTOR(3plplot), input)
28              A  vector  that represents (using unsigned 8-bit integers in the
29              range from 0-255) the degree of red in the color as a continuous
30              function of the integer index of the vector.
31
32       g (PLINT_VECTOR(3plplot), input)
33              A  vector  that represents (using unsigned 8-bit integers in the
34              range from 0-255) the degree of green in the color as a continu‐
35              ous function of the integer index of the vector.
36
37       b (PLINT_VECTOR(3plplot), input)
38              A  vector  that represents (using unsigned 8-bit integers in the
39              range from 0-255) the degree of blue in the color as a  continu‐
40              ous function of the integer index of the vector.
41
42       ncol1 (PLINT(3plplot), input)
43              Number of items in the r, g, and b vectors.
44
45

AUTHORS

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

SEE ALSO

51       PLplot documentation at http://plplot.org/documentation.php.
52
53
54
55                                February, 2022               PLSCMAP1(3plplot)
Impressum