File: plscmap1l.txt

package info (click to toggle)
plplot 5.10.0%2Bdfsg2-0.4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 25,792 kB
  • ctags: 13,517
  • sloc: ansic: 83,001; xml: 27,081; ada: 18,878; cpp: 15,966; tcl: 11,651; python: 7,075; f90: 7,058; ml: 6,974; java: 6,665; perl: 5,029; sh: 2,208; makefile: 210; lisp: 75; sed: 25; fortran: 7
file content (33 lines) | stat: -rw-r--r-- 981 bytes parent folder | download | duplicates (2)
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).