1PLSPAL1(3plplot) PLplot API PLSPAL1(3plplot)
2
3
4
6 plspal1 - Set the cmap1 palette using the specified cmap1*.pal format
7 file
8
10 plspal1(filename, interpolate)
11
13 Set the cmap1 palette using the specified cmap1*.pal format file.
14
15 Redacted form: plspal1(filename, interpolate)
16
17 This function is used in example 16.
18
20 filename (PLCHAR_VECTOR(3plplot), input)
21 An ascii character string containing the name of the cmap1*.pal
22 file. If this string is empty, use the default cmap1*.pal file.
23
24 interpolate (PLBOOL(3plplot), input)
25 If this parameter is true, the columns containing the intensity
26 index, r, g, b, alpha and alt_hue_path in the cmap1*.pal file
27 are used to set the cmap1 palette with a call to
28 plscmap1la(3plplot). (The cmap1*.pal header contains a flag
29 which controls whether the r, g, b data sent to
30 plscmap1la(3plplot) are interpreted as HLS or RGB.) If this
31 parameter is false, the intensity index and alt_hue_path columns
32 are ignored and the r, g, b (interpreted as RGB), and alpha col‐
33 umns of the cmap1*.pal file are used instead to set the cmap1
34 palette directly with a call to plscmap1a(3plplot).
35
36
38 Many developers (who are credited at http://plplot.org/credits.php)
39 have contributed to PLplot over its long history.
40
42 PLplot documentation at http://plplot.org/documentation.php.
43
44
45
46 November, 2019 PLSPAL1(3plplot)