Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

plscmap0a(3plplot) [debian man page]

PLSCMAP0A(3plplot)						    PLplot API							PLSCMAP0A(3plplot)

NAME
plscmap0a - Set color map0 colors by 8-bit RGB values and double alpha value. SYNOPSIS
plscmap0a(r, g, b, a, ncol0) DESCRIPTION
Set color map0 colors using 8-bit RGB values (see the PLplot documentation) and floating point alpha value. This sets the entire color map -- only as many colors as specified will be allocated. This function is used in examples 30. ARGUMENTS
r (PLINT *, input) Pointer to array with set of unsigned 8-bit integers (0-255) representing the degree of red in the color. g (PLINT *, input) Pointer to array with set of unsigned 8-bit integers (0-255) representing the degree of green in the color. b (PLINT *, input) Pointer to array with set of unsigned 8-bit integers (0-255) representing the degree of blue in the color. a (PLFLT *, input) Pointer to array with set of PLFLT values (0.0 - 1.0) representing the transparency of the color. ncol0 (PLINT, input) Number of items in the r, g, b, and a arrays. AUTHORS
Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This man page was automatically generated from the DocBook source of the PLplot documentation, maintained by Alan W. Irwin and Rafael Laboissiere. SEE ALSO
PLplot documentation at http://plplot.sourceforge.net/resources. August, 2012 PLSCMAP0A(3plplot)

Check Out this Related Man Page

PLSCMAP1LA(3plplot)						    PLplot API						       PLSCMAP1LA(3plplot)

NAME
plscmap1la - Set color map1 colors using a piece-wise linear relationship SYNOPSIS
plscmap1la(itype, npts, pos, coord1, coord2, coord3, coord4, rev) DESCRIPTION
This is a version of plscmap1l(3plplot) that supports alpha transparency. It sets color map1 colors using a piece-wise linear relationship between position in the color map (from 0 to 1) and position in HLS or RGB color space (see the PLplot documentation) with alpha value (0.0 - 1.0). It may be called at any time. This function is used in example 30. ARGUMENTS
itype (PLBOOL, input) true: RGB, false: HLS. npts (PLINT, input) number of control points pos (PLFLT *, input) position for each control point (between 0.0 and 1.0, in ascending order) coord1 (PLFLT *, input) first coordinate (H or R) for each control point coord2 (PLFLT *, input) second coordinate (L or G) for each control point coord3 (PLFLT *, input) third coordinate (S or B) for each control point coord4 (PLFLT *, input) fourth coordinate, the alpha value for each control point rev (PLBOOL: *, input) reverse flag for each control point. (rev[i] refers to the interpolation interval between the i and i + 1 control points). AUTHORS
Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This man page was automatically generated from the DocBook source of the PLplot documentation, maintained by Alan W. Irwin and Rafael Laboissiere. SEE ALSO
PLplot documentation at http://plplot.sourceforge.net/resources. August, 2012 PLSCMAP1LA(3plplot)
Man Page