File: plbin.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 (35 lines) | stat: -rw-r--r-- 1,233 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
34
35

plbin: Plot a histogram from binned data 

DESCRIPTION:

    This function is not used in any examples. 

SYNOPSIS:

plbin(nbin, x, y, opt)

ARGUMENTS:

    nbin (PLINT, input) :    Number of bins (i.e., number of values in x
    and y arrays.) 

    x (const PLFLT *, input) :      Pointer to array containing values
    associated with bins.  These must form a strictly increasing
    sequence. 

    y (const PLFLT *, input) :      Pointer to array containing number of
    points in bin.    This is a PLFLT (instead of PLINT) array so as to
    allow histograms of probabilities, etc. 

    opt (PLINT, input) :    Is a combination of several flags:
    opt=PL_BIN_DEFAULT: The x represent the lower bin boundaries, the
    outer bins are expanded to fill up the entire x-axis and bins of
    zero height are simply drawn. 
        opt=PL_BIN_CENTRED|...: The bin boundaries are to be midway
        between the x values. If the values in x are equally spaced,
        the values are the center values of the bins. 
        opt=PL_BIN_NOEXPAND|...: The outer bins are drawn with equal
        size as the ones inside. 
        opt=PL_BIN_NOEMPTY|...: Bins with zero height are not drawn
        (there is a gap for such bins).