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

NAME

6       plscmap1la - Set cmap1 colors and alpha transparency using a piece-wise
7       linear relationship
8

SYNOPSIS

10       plscmap1la(itype,  npts,  intensity,  coord1,  coord2,  coord3,  alpha,
11       alt_hue_path)
12

DESCRIPTION

14       This  is  a  variant  of plscmap1l(3plplot) that supports alpha channel
15       transparency. It sets cmap1 colors using a piece-wise linear  relation‐
16       ship between cmap1 intensity index (0.0-1.0) and position in HLS or RGB
17       color space (see the  PLplot  documentation)  with  alpha  transparency
18       value (0.0-1.0). It may be called at any time.
19
20       Redacted  form:  plscmap1la(itype,  intensity,  coord1, coord2, coord3,
21       alpha, alt_hue_path)
22
23       This function is used in example 30.
24

ARGUMENTS

26       itype (PLBOOL(3plplot), input)
27              true: RGB, false: HLS.
28
29       npts (PLINT(3plplot), input)
30              number of control points.
31
32       intensity (PLFLT_VECTOR(3plplot), input)
33              A vector containing  the  cmap1  intensity  index  (0.0-1.0)  in
34              ascending order for each control point.
35
36       coord1 (PLFLT_VECTOR(3plplot), input)
37              A  vector containing the first coordinate (H or R) for each con‐
38              trol point.
39
40       coord2 (PLFLT_VECTOR(3plplot), input)
41              A vector containing the second coordinate (L or G) for each con‐
42              trol point.
43
44       coord3 (PLFLT_VECTOR(3plplot), input)
45              A  vector containing the third coordinate (S or B) for each con‐
46              trol point.
47
48       alpha (PLFLT_VECTOR(3plplot), input)
49              A vector containing the alpha transparency value  (0.0-1.0)  for
50              each control point.
51
52       alt_hue_path (PLBOOL_VECTOR(3plplot), input)
53              A  vector  (with  npts  - 1 elements) containing the alternative
54              interpolation method Boolean value for each control point inter‐
55              val.   (alt_hue_path[i]  refers  to  the  interpolation interval
56              between the i and i + 1 control points).
57
58

AUTHORS

60       Many   developers   (who   are   credited   at    http://plplot.source
61       forge.net/credits.php)  have  contributed  to PLplot over its long his‐
62       tory.
63

SEE ALSO

65       PLplot   documentation   at    http://plplot.sourceforge.net/documenta
66       tion.php.
67
68
69
70                                 August, 2017              PLSCMAP1LA(3plplot)
Impressum