1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
plscmap1l: Set cmap1 colors using a piece-wise linear relationship
DESCRIPTION:
This function is used in examples 8,11,12,15,20,21.
SYNOPSIS:
plscmap1l(itype, npts, intensity, coord1, coord2, coord3, alt_hue_path)
ARGUMENTS:
itype (PLBOOL, input) : true: RGB, false: HLS.
npts (PLINT, input) : number of control points
intensity (const PLFLT *, input) : intensity index for each control
point (between 0.0 and 1.0, in ascending order)
coord1 (const PLFLT *, input) : first coordinate (H or R) for each
control point
coord2 (const PLFLT *, input) : second coordinate (L or G) for each
control point
coord3 (const PLFLT *, input) : third coordinate (S or B) for each
control point
alt_hue_path (const PLBOOL *, input) : alternative interpolation
method flag for each control point. (alt_hue_path[i] refers to
the interpolation interval between the i and i + 1 control
points).
|