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
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.
15
plhist(n, data, datmin, datmax, nbin, oldwin)
15
plhist(n, data, datmin, datmax, nbin, opt)
28
28
nbin (PLINT, input) : Number of (equal-sized) bins into which to
29
29
divide the interval xmin to xmax.
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).