Statistics
Class PointDataSource
java.lang.Object
Statistics.PointDataSource
- All Implemented Interfaces:
- jas.hist.DataSource, jas.hist.HasStyle, jas.hist.Rebinnable1DHistogramData
- public class PointDataSource
- extends java.lang.Object
- implements jas.hist.Rebinnable1DHistogramData, jas.hist.HasStyle
Class used to draw a single vertical line in a
jas.hist.JASHist
histogram.
Fields inherited from interface jas.hist.DataSource |
DATE, DELTATIME, DOUBLE, INTEGER, STRING |
Constructor Summary |
PointDataSource(java.lang.String name,
double x,
double y,
double w,
java.awt.Color barColor)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PointDataSource
public PointDataSource(java.lang.String name,
double x,
double y,
double w,
java.awt.Color barColor)
- Parameters:
x
- x coordinate of pointy
- y coordinate of pointw
- width of column
rebin
public double[][] rebin(int rBins,
double rMin,
double rMax,
boolean wantErrors,
boolean hurry)
- Specified by:
rebin
in interface jas.hist.Rebinnable1DHistogramData
getAxisLabels
public java.lang.String[] getAxisLabels()
- Specified by:
getAxisLabels
in interface jas.hist.Rebinnable1DHistogramData
getMin
public double getMin()
- Specified by:
getMin
in interface jas.hist.Rebinnable1DHistogramData
getMax
public double getMax()
- Specified by:
getMax
in interface jas.hist.Rebinnable1DHistogramData
isRebinnable
public boolean isRebinnable()
- Specified by:
isRebinnable
in interface jas.hist.Rebinnable1DHistogramData
getBins
public int getBins()
- Specified by:
getBins
in interface jas.hist.Rebinnable1DHistogramData
getAxisType
public int getAxisType()
- Specified by:
getAxisType
in interface jas.hist.Rebinnable1DHistogramData
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in interface jas.hist.DataSource
getStyle
public jas.hist.JASHistStyle getStyle()
- Communicates the histogram style to the JAS plot widget.
We use the default and turn off the error bars.
- Specified by:
getStyle
in interface jas.hist.HasStyle