1PLSCMAP1LA(3plplot) PLplot API PLSCMAP1LA(3plplot)
2
3
4
6 plscmap1la - Set cmap1 colors and alpha transparency using a piece-wise
7 linear relationship
8
10 plscmap1la(itype, npts, intensity, coord1, coord2, coord3, alpha,
11 alt_hue_path)
12
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, al‐
21 pha, alt_hue_path)
22
23 This function is used in example 30.
24
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 as‐
34 cending 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 in‐
54 terpolation method Boolean value for each control point inter‐
55 val. (alt_hue_path[i] refers to the interpolation interval be‐
56 tween the i and i + 1 control points).
57
58
60 Many developers (who are credited at http://plplot.org/credits.php)
61 have contributed to PLplot over its long history.
62
64 PLplot documentation at http://plplot.org/documentation.php.
65
66
67
68 January, 2021 PLSCMAP1LA(3plplot)