org.omegahat.Graphics.Plots.DataStructures
Interface HistogramContentsInt

All Known Implementing Classes:
HistogramContents

public interface HistogramContentsInt

An interface defining the minimum set of methods required to extract the necessary information about a variable to draw a histogram for it.

See Also:
HistogramContents

Method Summary
 HistogramBinInt getBin(int which)
          Get the ith HistogramBinInt containing the range and height of that bin.
 double maxHeight()
          The maximum height of a bar in the coordinates of the y-axis for the histogram.
 int numBins()
          The number of bins in the histogram.
 long numObservations()
          Return the total number of data values that make up this point.
 

Method Detail

maxHeight

public double maxHeight()
The maximum height of a bar in the coordinates of the y-axis for the histogram.

numBins

public int numBins()
The number of bins in the histogram.

getBin

public HistogramBinInt getBin(int which)
Get the ith HistogramBinInt containing the range and height of that bin.

numObservations

public long numObservations()
Return the total number of data values that make up this point.