1PLHLSRGB(3plplot) PLplot API PLHLSRGB(3plplot)
2
3
4
6 plhlsrgb - Convert HLS color to RGB
7
9 plhlsrgb(h, l, s, p_r, p_g, p_b)
10
12 Convert HLS color coordinates to RGB.
13
14 Redacted form: General: plhlsrgb(h, l, s, p_r, p_g, p_b) Perl/PDL: Not
15 available? Implemented as plhls?
16
17
18 This function is used in example 2.
19
21 h (PLFLT(3plplot), input)
22 Hue in degrees (0.0-360.0) on the color cylinder.
23
24 l (PLFLT(3plplot), input)
25 Lightness expressed as a fraction (0.0-1.0) of the axis of the
26 color cylinder.
27
28 s (PLFLT(3plplot), input)
29 Saturation expressed as a fraction (0.0-1.0) of the radius of
30 the color cylinder.
31
32 p_r (PLFLT_NC_SCALAR(3plplot), output)
33 Returned value of the red intensity (0.0-1.0) of the color.
34
35 p_g (PLFLT_NC_SCALAR(3plplot), output)
36 Returned value of the green intensity (0.0-1.0) of the color.
37
38 p_b (PLFLT_NC_SCALAR(3plplot), output)
39 Returned value of the blue intensity (0.0-1.0) of the color.
40
41
43 Many developers (who are credited at http://plplot.source‐
44 forge.net/credits.php) have contributed to PLplot over its long his‐
45 tory.
46
48 PLplot documentation at http://plplot.sourceforge.net/documenta‐
49 tion.php.
50
51
52
53 August, 2017 PLHLSRGB(3plplot)