1PLSCMAP1LA(3plplot) PLplot API PLSCMAP1LA(3plplot)
2
3
4
6 plscmap1la - Set color map1 colors using a piece-wise linear relation‐
7 ship
8
10 plscmap1la(itype, npts, pos, coord1, coord2, coord3, coord4, rev)
11
13 This is a version of plscmap1l(3plplot) that supports alpha trans‐
14 parency. It sets color map1 colors using a piece-wise linear relation‐
15 ship between position in the color map (from 0 to 1) and position in
16 HLS or RGB color space (see the PLplot documentation) with alpha value
17 (0.0 - 1.0). It may be called at any time.
18
19 This function is used in example 30.
20
22 itype (PLBOOL, input)
23 true: RGB, false: HLS.
24
25 npts (PLINT, input)
26 number of control points
27
28 pos (PLFLT *, input)
29 position for each control point (between 0.0 and 1.0, in ascend‐
30 ing order)
31
32 coord1 (PLFLT *, input)
33 first coordinate (H or R) for each control point
34
35 coord2 (PLFLT *, input)
36 second coordinate (L or G) for each control point
37
38 coord3 (PLFLT *, input)
39 third coordinate (S or B) for each control point
40
41 coord4 (PLFLT *, input)
42 fourth coordinate, the alpha value for each control point
43
44 rev (PLBOOL: *, input)
45 reverse flag for each control point. (rev[i] refers to the
46 interpolation interval between the i and i + 1 control points).
47
48
50 Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This
51 man page was automatically generated from the DocBook source of the
52 PLplot documentation, maintained by Alan W. Irwin and Rafael
53 Laboissiere.
54
56 PLplot documentation at http://plplot.sourceforge.net/resources.
57
58
59
60 July, 2010 PLSCMAP1LA(3plplot)