~ubuntu-branches/ubuntu/intrepid/plplot/intrepid

« back to all changes in this revision

Viewing changes to bindings/octave/plplot_octave_txt/plbin.txt

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2006-11-04 10:19:34 UTC
  • mfrom: (2.1.8 edgy)
  • Revision ID: james.westby@ubuntu.com-20061104101934-mlirvdg4gpwi6i5q
Tags: 5.6.1-10
* Orphaning the package
* debian/control: Changed the maintainer to the Debian QA Group

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
    Plots a histogram consisting of nbin bins.  The value associated with
7
7
    the i'th bin is placed in x[i], and the number of points in the bin is
8
8
    placed in y[i].  For proper operation, the values in x[i] must form a
9
 
    strictly increasing sequence.  If center=0, x[i] is the left-hand edge
10
 
    of the i'th bin, and if center=1, the bin boundaries are placed midway
11
 
    between the values in the x array.  Also see plhist for drawing
12
 
    histograms from unbinned data. 
 
9
    strictly increasing sequence.  By default, x[i] is the left-hand edge
 
10
    of the i'th bin. If opt=PL_BIN_CENTRED is used, the bin boundaries are
 
11
    placed midway between the values in the x array.  Also see plhist for
 
12
    drawing histograms from unbinned data. 
13
13
 
14
14
SYNOPSIS:
15
15
 
16
 
plbin(nbin, x, y, center)
 
16
plbin(nbin, x, y, opt)
17
17
 
18
18
ARGUMENTS:
19
19
 
27
27
    in bin.  This is a PLFLT (instead of PLINT) array so as to allow
28
28
    histograms of probabilities, etc. 
29
29
 
30
 
    center (PLINT, input) :    Indicates whether the values in x represent
31
 
    the lower bin boundaries (center=0) or whether the bin boundaries
32
 
    are to be midway between the x values (center=1).  If the values
33
 
    in x are equally spaced and center=1, the values in x are the
34
 
    center values of the bins. 
 
30
    opt (PLINT, input) :    Is a combination of several flags:
 
31
    opt=PL_BIN_DEFAULT: The x represent the lower bin boundaries, the
 
32
    outer bins are expanded to fill up the entire x-axis and bins of
 
33
    zero height are simply drawn. 
 
34
        opt=PL_BIN_CENTRED|...: The bin boundaries are to be midway
 
35
        between the x values. If the values in x are equally spaced,
 
36
        the values are the center values of the bins. 
 
37
        opt=PL_BIN_NOEXPAND|...: The outer bins are drawn with equal
 
38
        size as the ones inside. 
 
39
        opt=PL_BIN_NOEMPTY|...: Bins with zero height are not drawn
 
40
        (there is a gap for such bins).