Controls the color of the bar. Defaults to blue.
Setter
Determine whether this object throws or ignores if it receives a number outside its bounds via put.
Determines whether this histogram is cumulative.
Set whether this histogram displays counts or probabilities.
The number of bins this histogram contains.
Add a number to the histogram on the fly.
Add the contents of another Histogram to this one. The boundaries and numbers of bins must be the same. This histogram's settings are retained.
Assumes the LineGraph input is a plot of a PDF that this histogram is supposed to approximate, and scales the Y axis of the LineGraph accordingly so that both appear on the same scale.
Factory method to instantiate this class. nums must be a forward range with elements implicitly convertible to double. nBin specifies how many bins the histogram should contain.
Factory method to instantiate this class with predetermined limits. This allows nums to be an input range instead of a forward range, since no pass is necessary to compute the limits.
Create an empty histogram with pre-specified bounds, which will be filled with data using the put method.
Returns true if this plot type supports legends, otherwise false.
Convenience method that instantiates a Figure object with this plot. Useful for creating single-plot figures w/o a lot of boilerplate.
Instantiates a Figure object with this plot and also places the default axes and tick labeling and title for the plot type, if any, on the Figure. If a plot type has no default labeling, simply forwards to toFigure().
The leftmost point on the plot.
The rightmost point on the plot.
The topmost point on the plot.
The bottommost point on the plot.
A class for plotting regular (equal-width) histograms.