1PLSCMAP0(3plplot) PLplot API PLSCMAP0(3plplot)
2
3
4
6 plscmap0 - Set color map0 colors by 8-bit RGB values
7
9 plscmap0(r, g, b, ncol0)
10
12 Set color map0 colors using 8-bit RGB values (see the PLplot documenta‐
13 tion). This sets the entire color map -- only as many colors as speci‐
14 fied will be allocated.
15
16 Redacted form: plscmap0(r, g, b, ncol0)
17
18 This function is used in examples 2,24.
19
21 r (PLINT *, input)
22 Pointer to array with set of unsigned 8-bit integers (0-255)
23 representing the degree of red in the color.
24
25 g (PLINT *, input)
26 Pointer to array with set of unsigned 8-bit integers (0-255)
27 representing the degree of green in the color.
28
29 b (PLINT *, input)
30 Pointer to array with set of unsigned 8-bit integers (0-255)
31 representing the degree of blue in the color.
32
33 ncol0 (PLINT, input)
34 Number of items in the r, g, and b arrays.
35
36
38 Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This
39 man page was automatically generated from the DocBook source of the
40 PLplot documentation, maintained by Alan W. Irwin and Rafael
41 Laboissiere.
42
44 PLplot documentation at http://plplot.sourceforge.net/resources.
45
46
47
48 March, 2007 PLSCMAP0(3plplot)