jas2.hist.test
Class StringGauss
- java.lang.Object
-
- java.util.Observable
-
- jas2.hist.test.Gauss
-
- jas2.hist.test.StringGauss
-
- All Implemented Interfaces:
- DataSource, HasStatistics, HasStyle, Rebinnable1DHistogramData, HasXMLRepresentation
public class StringGauss extends Gauss
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jas2.hist.test.Gauss
Gauss.PaulStatistics
-
-
Constructor Summary
Constructors Constructor and Description StringGauss(java.lang.String name, int entries, double max, double offX, double offY)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String[]getAxisLabels()Returns the axis labels.intgetAxisType()Returns one of DOUBLE,INTEGER,STRING,DATE or DELTATIMEintgetBins()Returns the (suggested) number of bins to usebooleanisRebinnable()Returns true if the data source is capable of recalculating the bin contents, or false of the interface is not-capable of recalculating the bin contents.-
Methods inherited from class jas2.hist.test.Gauss
getData, getMax, getMin, getSize, getStatistics, getStyle, getTitle, rebin, setSize, setStats, setStyle, writeAsXML
-
-
-
-
Constructor Detail
-
StringGauss
public StringGauss(java.lang.String name, int entries, double max, double offX, double offY)
-
-
Method Detail
-
getAxisType
public int getAxisType()
Description copied from interface:Rebinnable1DHistogramDataReturns one of DOUBLE,INTEGER,STRING,DATE or DELTATIME- Specified by:
getAxisTypein interfaceRebinnable1DHistogramData- Overrides:
getAxisTypein classGauss
-
isRebinnable
public boolean isRebinnable()
Description copied from interface:Rebinnable1DHistogramDataReturns true if the data source is capable of recalculating the bin contents, or false of the interface is not-capable of recalculating the bin contents. In the former case the values returned by getMin, getMax and getBins are just taken to be suggestions, in the latter case they are taken to be fixed in stone.- Specified by:
isRebinnablein interfaceRebinnable1DHistogramData- Overrides:
isRebinnablein classGauss- Returns:
- True if the datasource is rebinnable
-
getAxisLabels
public java.lang.String[] getAxisLabels()
Description copied from interface:Rebinnable1DHistogramDataReturns the axis labels. Only relevant if the axisType is STRING, otherwise can return null- Specified by:
getAxisLabelsin interfaceRebinnable1DHistogramData- Overrides:
getAxisLabelsin classGauss- Returns:
- An array of bin labels to use on the X axis
-
getBins
public int getBins()
Description copied from interface:Rebinnable1DHistogramDataReturns the (suggested) number of bins to use- Specified by:
getBinsin interfaceRebinnable1DHistogramData- Overrides:
getBinsin classGauss
-
-
DataMelt 3.0 © DataMelt by jWork.ORG