org.freehep.jas.extension.tupleExplorer.project
Class Scatter2D

java.lang.Object
  extended by java.util.Observable
      extended by org.freehep.jas.extension.tupleExplorer.project.AbstractProjection
          extended by org.freehep.jas.extension.tupleExplorer.project.Scatter2D
All Implemented Interfaces:
jas.hist.DataSource, jas.hist.HasScatterPlotData, jas.hist.HasStatistics, jas.hist.HasStyle, jas.hist.Rebinnable2DHistogramData, ActionListener, EventListener, org.freehep.jas.plugin.plotter.JAS3DataSource

public class Scatter2D
extends AbstractProjection
implements jas.hist.HasScatterPlotData, jas.hist.HasStyle

Author:
The FreeHEP team @ SLAC.

Field Summary
 
Fields inherited from interface jas.hist.DataSource
DATE, DELTATIME, DOUBLE, INTEGER, STRING
 
Constructor Summary
protected Scatter2D()
           
  Scatter2D(MutableTupleColumn x, MutableTupleColumn y)
           
 
Method Summary
 String[] axisLabels()
           
protected  MutableTupleColumn columnX()
           
protected  MutableTupleColumn columnY()
           
 jas.hist.DataSource dataSource()
           
 void end()
           
 void fill(MutableTupleTreeNavigator cursor)
           
 org.freehep.jas.plugin.tree.FTreePath getLeadingPath()
           
 jas.hist.JASHistStyle getStyle()
           
 String getTitle()
           
 String[] getXAxisLabels()
           
 int getXAxisType()
           
 int getXBins()
           
 double getXMax()
           
 double getXMin()
           
 String[] getYAxisLabels()
           
 int getYAxisType()
           
 int getYBins()
           
 double getYMax()
           
 double getYMin()
           
 boolean hasScatterPlotData()
           
protected  void initProjection2D()
           
 boolean isRebinnable()
           
 org.freehep.jas.plugin.tree.FTreePath path()
           
 double[][][] rebin(int xbins, double xmin, double xmax, int ybins, double ymin, double ymax, boolean wantErrors, boolean hurry, boolean overflow)
           
protected  void setColumns(MutableTupleColumn colx, MutableTupleColumn coly)
           
 void start()
           
 jas.hist.ScatterEnumeration startEnumeration()
           
 jas.hist.ScatterEnumeration startEnumeration(double param, double param1, double param2, double param3)
           
 
Methods inherited from class org.freehep.jas.extension.tupleExplorer.project.AbstractProjection
actionPerformed, dataStatistics, destroy, getStatistics, initStatistics, jas3DataSource, modifyPopupMenu, run, setAxisType, setName, setPlot, setRegion, setRunnable
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scatter2D

protected Scatter2D()

Scatter2D

public Scatter2D(MutableTupleColumn x,
                 MutableTupleColumn y)
Method Detail

initProjection2D

protected void initProjection2D()

dataSource

public jas.hist.DataSource dataSource()
Specified by:
dataSource in interface org.freehep.jas.plugin.plotter.JAS3DataSource

start

public void start()
Specified by:
start in class AbstractProjection

fill

public void fill(MutableTupleTreeNavigator cursor)
Specified by:
fill in class AbstractProjection

end

public void end()
Specified by:
end in class AbstractProjection

startEnumeration

public jas.hist.ScatterEnumeration startEnumeration(double param,
                                                    double param1,
                                                    double param2,
                                                    double param3)
Specified by:
startEnumeration in interface jas.hist.HasScatterPlotData

startEnumeration

public jas.hist.ScatterEnumeration startEnumeration()
Specified by:
startEnumeration in interface jas.hist.HasScatterPlotData

getXAxisType

public int getXAxisType()
Specified by:
getXAxisType in interface jas.hist.Rebinnable2DHistogramData

getYAxisType

public int getYAxisType()
Specified by:
getYAxisType in interface jas.hist.Rebinnable2DHistogramData

getTitle

public String getTitle()
Specified by:
getTitle in interface jas.hist.DataSource

getXMax

public double getXMax()
Specified by:
getXMax in interface jas.hist.Rebinnable2DHistogramData

getYMax

public double getYMax()
Specified by:
getYMax in interface jas.hist.Rebinnable2DHistogramData

getXMin

public double getXMin()
Specified by:
getXMin in interface jas.hist.Rebinnable2DHistogramData

getYMin

public double getYMin()
Specified by:
getYMin in interface jas.hist.Rebinnable2DHistogramData

hasScatterPlotData

public boolean hasScatterPlotData()
Specified by:
hasScatterPlotData in interface jas.hist.HasScatterPlotData

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 jas.hist.Rebinnable2DHistogramData

getXBins

public int getXBins()
Specified by:
getXBins in interface jas.hist.Rebinnable2DHistogramData

getYBins

public int getYBins()
Specified by:
getYBins in interface jas.hist.Rebinnable2DHistogramData

isRebinnable

public boolean isRebinnable()
Specified by:
isRebinnable in interface jas.hist.Rebinnable2DHistogramData

getXAxisLabels

public String[] getXAxisLabels()
Specified by:
getXAxisLabels in interface jas.hist.Rebinnable2DHistogramData

getYAxisLabels

public String[] getYAxisLabels()
Specified by:
getYAxisLabels in interface jas.hist.Rebinnable2DHistogramData

getStyle

public jas.hist.JASHistStyle getStyle()
Specified by:
getStyle in interface jas.hist.HasStyle

setColumns

protected void setColumns(MutableTupleColumn colx,
                          MutableTupleColumn coly)

columnX

protected MutableTupleColumn columnX()

columnY

protected MutableTupleColumn columnY()

getLeadingPath

public org.freehep.jas.plugin.tree.FTreePath getLeadingPath()
Specified by:
getLeadingPath in class AbstractProjection

path

public org.freehep.jas.plugin.tree.FTreePath path()
Specified by:
path in interface org.freehep.jas.plugin.plotter.JAS3DataSource
Specified by:
path in class AbstractProjection

axisLabels

public String[] axisLabels()
Specified by:
axisLabels in interface org.freehep.jas.plugin.plotter.JAS3DataSource
Specified by:
axisLabels in class AbstractProjection


Copyright © 2013. All Rights Reserved.