jas.hep
Class Partition2DAdapter
java.lang.Object
|
+--java.util.Observable
|
+--jas.hist.util.ObserverAdapter
|
+--jas.hep.PartitionAdapter
|
+--jas.hep.Partition2DAdapter
- All Implemented Interfaces:
- DataSource, HasStatistics, HasStyle, java.util.Observer, Rebinnable2DHistogramData
- public class Partition2DAdapter
- extends PartitionAdapter
- implements Rebinnable2DHistogramData, HasStyle
Methods inherited from class java.util.Observable |
clearChanged, countObservers, hasChanged, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Partition2DAdapter
public Partition2DAdapter(Abstract2DPartition p)
rebin
public double[][][] rebin(int xbins,
double xmin,
double xmax,
int ybins,
double ymin,
double ymax,
boolean wantErrors,
boolean hurry,
boolean overflow)
- Specified by:
rebin
in interface Rebinnable2DHistogramData
isRebinnable
public boolean isRebinnable()
- Specified by:
isRebinnable
in interface Rebinnable2DHistogramData
getXMin
public double getXMin()
- Specified by:
getXMin
in interface Rebinnable2DHistogramData
getXMax
public double getXMax()
- Specified by:
getXMax
in interface Rebinnable2DHistogramData
getYMin
public double getYMin()
- Specified by:
getYMin
in interface Rebinnable2DHistogramData
getYMax
public double getYMax()
- Specified by:
getYMax
in interface Rebinnable2DHistogramData
getXBins
public int getXBins()
- Specified by:
getXBins
in interface Rebinnable2DHistogramData
getYBins
public int getYBins()
- Specified by:
getYBins
in interface Rebinnable2DHistogramData
getXAxisType
public int getXAxisType()
- Specified by:
getXAxisType
in interface Rebinnable2DHistogramData
getYAxisType
public int getYAxisType()
- Specified by:
getYAxisType
in interface Rebinnable2DHistogramData
getXAxisLabels
public java.lang.String[] getXAxisLabels()
- Specified by:
getXAxisLabels
in interface Rebinnable2DHistogramData
getYAxisLabels
public java.lang.String[] getYAxisLabels()
- Specified by:
getYAxisLabels
in interface Rebinnable2DHistogramData
getStyle
public JASHistStyle getStyle()
- Description copied from interface:
HasStyle
- This method is called by the plot to determine what style to be used for a plot.
It is the programmers responsibility to return the correct subclass of JASHistStyle
corresponding to the type of data being implemented by the DataSource.
- Specified by:
getStyle
in interface HasStyle
- Following copied from interface:
jas.hist.HasStyle
- Returns:
- The style to be used, or null to use the default style.
- See Also:
JASHist1DHistogramStyle
,
JASHist2DHistogramStyle
,
JASHistScatterPlotStyle
createStyle
protected JASHist2DHistogramStyle createStyle()