All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.awt.Component | +----java.awt.Canvas | +----resample.RVHistogram | +----resample.RVHistogramCompressed
Use this class if the difference between max and min x-value is big
Example: vector (1 1 3 5 7) would lead to result arrays (x/y) = ((1/2)(3/1)(5/1)(7/1))
xSize,ySize: canvas-dimension (mandatory)
ResampleVector: vector with the data to present (mandatory)
rangeLeft: show only x-values >= rangeLeft (optional)
rangeLeft makes sense if the vector contains too many elements for the size of the canvas.
public RVHistogramCompressed(int xSize, int ySize, ResampleVector resVec)
xSize,ySize: canvas-dimension (mandatory)
ResampleVector: vector with the data to present (mandatory)
rangeLeft: show only x-values >= rangeLeft (optional)
rangeLeft makes sense if the vector contains too many elements for the size of the canvas.
public RVHistogramCompressed(int xSize, int ySize, ResampleVector resVec, int rangeLeft)
protected void calculateHistoArray()
All Packages Class Hierarchy This Package Previous Next Index