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

« back to all changes in this revision

Viewing changes to bindings/octave/plplot_octave_txt/plhist.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 from n data points stored in the array data.  This
7
7
    routine bins the data into nbin bins equally spaced between datmin and
8
8
    datmax, and calls plbin to draw the resulting histogram.  Parameter
9
 
    oldwin allows the histogram either to be plotted in an existing window
10
 
    or causes plhist to call plenv with suitable limits before plotting
11
 
    the histogram. 
 
9
    opt allows, among other things, the histogram either to be plotted in
 
10
    an existing window or causes plhist to call plenv with suitable limits
 
11
    before plotting the histogram. 
12
12
 
13
13
SYNOPSIS:
14
14
 
15
 
plhist(n, data, datmin, datmax, nbin, oldwin)
 
15
plhist(n, data, datmin, datmax, nbin, opt)
16
16
 
17
17
ARGUMENTS:
18
18
 
28
28
    nbin (PLINT, input) :    Number of (equal-sized) bins into which to
29
29
    divide the interval xmin to xmax. 
30
30
 
31
 
    oldwin (PLINT, input) :    If one, the histogram is plotted in the
32
 
    currently-defined window, and if zero, plenv is called
33
 
    automatically before plotting. 
 
31
    opt (PLINT, input) :    Is a combination of several flags:
 
32
    opt=PL_HIST_DEFAULT: The axes are automatically rescaled to fit
 
33
    the histogram data, the outer bins are expanded to fill up the
 
34
    entire x-axis, data outside the given extremes are assigned to the
 
35
    outer bins and bins of zero height are simply drawn. 
 
36
        opt=PL_HIST_NOSCALING|...: The existing axes are not rescaled
 
37
        to fit the histogram data, without this flag, plenv is called
 
38
        to set the world coordinates. 
 
39
        opt=PL_HIST_IGNORE_OUTLIERS|...: Data outside the given
 
40
        extremes are not taken into account. This option should
 
41
        probably be combined with opt=PL_HIST_NOEXPAND|..., so as to
 
42
        properly present the data. 
 
43
        opt=PL_HIST_NOEXPAND|...: The outer bins are drawn with equal
 
44
        size as the ones inside. 
 
45
        opt=PL_HIST_NOEMPTY|...: Bins with zero height are not drawn
 
46
        (there is a gap for such bins).