(n, data, datmin, datmax, nbin, opt);
Plots a histogram from
data points stored in the array
data. This routine bins
the data into
equally spaced between
datmax, and calls
to draw the resulting histogram. Parameter
opt allows, among
other things, the histogram either to be plotted in an existing window
plhist to call
plenv with suitable limits before plotting
Number of data points.
(PLFLT *, input)
Pointer to array with values of the
n data points.
Left-hand edge of lowest-valued bin.
Right-hand edge of highest-valued bin.
Number of (equal-sized) bins into which to divide the interval
Is a combination of several flags:
The axes are automatically rescaled to fit the histogram data,
the outer bins are expanded to fill up the entire x-axis,
data outside the given extremes are assigned to the outer
bins and bins of zero height are simply drawn.
The existing axes are not rescaled to fit the histogram data,
without this flag,
plenv is called to set the world coordinates.
Data outside the given extremes are not taken into account.
This option should probably be combined with
so as to properly present the data.
The outer bins are drawn with equal size as the ones inside.
Bins with zero height are not drawn (there is a gap for
plhist(data, datmin, datmax, nbin, opt)
This function is used in example 5.