jasext.jhplotserver
Class CopyOfRefP1D_2Dhisto
- java.lang.Object
-
- jasext.jhplotserver.CopyOfRefP1D_2Dhisto
-
- All Implemented Interfaces:
- DataSource, HasScatterPlotData, HasStatistics, Rebinnable2DHistogramData, Statistics
public class CopyOfRefP1D_2Dhisto extends java.lang.Object implements HasStatistics, HasScatterPlotData, Statistics
-
-
Constructor Summary
Constructors Constructor and Description CopyOfRefP1D_2Dhisto(jhplot.P1D h)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String[]getAxisLabels()intgetSize()doublegetStatistic(java.lang.String name)java.lang.String[]getStatisticNames()StatisticsgetStatistics()java.lang.StringgetTitle()Return the caption to be used in the legend for this data.java.lang.StringgetType()java.lang.String[]getXAxisLabels()intgetXAxisType()intgetXBins()doublegetXMax()doublegetXMin()java.lang.String[]getYAxisLabels()intgetYAxisType()intgetYBins()doublegetYMax()doublegetYMin()booleanhasScatterPlotData()Even if a DataSource implements this interface it may not have any ScatterPlot data available at this time, hence the need for this method.booleanisRebinnable()double[][][]rebin(int xbins, double p2, double p3, int ybins, double p6, double p7, boolean p4, boolean p5, boolean p8)doublermsX()doublermsY()ScatterEnumerationstartEnumeration()Starts the enumeration of points from the beginning, and the enumeration will include all points stored in the partition.ScatterEnumerationstartEnumeration(double a, double b, double c, double d)Starts the enumeration of points from the beginning, and the enumeration will include only points in the given range.java.lang.StringtoString()
-
-
-
Method Detail
-
getSize
public int getSize()
-
rebin
public double[][][] rebin(int xbins, double p2, double p3, int ybins, double p6, double p7, boolean p4, boolean p5, boolean p8)- Specified by:
rebinin interfaceRebinnable2DHistogramData
-
getType
public java.lang.String getType()
-
isRebinnable
public boolean isRebinnable()
- Specified by:
isRebinnablein interfaceRebinnable2DHistogramData
-
getAxisLabels
public java.lang.String[] getAxisLabels()
-
getTitle
public java.lang.String getTitle()
Description copied from interface:DataSourceReturn the caption to be used in the legend for this data.- Specified by:
getTitlein interfaceDataSource
-
getStatistics
public Statistics getStatistics()
- Specified by:
getStatisticsin interfaceHasStatistics
-
getStatisticNames
public java.lang.String[] getStatisticNames()
- Specified by:
getStatisticNamesin interfaceStatistics- Returns:
- A list of statistic names
-
rmsX
public double rmsX()
-
rmsY
public double rmsY()
-
getStatistic
public double getStatistic(java.lang.String name)
- Specified by:
getStatisticin interfaceStatistics- Returns:
- The value for the statistic
-
getXMin
public double getXMin()
- Specified by:
getXMinin interfaceRebinnable2DHistogramData
-
getXMax
public double getXMax()
- Specified by:
getXMaxin interfaceRebinnable2DHistogramData
-
getYMin
public double getYMin()
- Specified by:
getYMinin interfaceRebinnable2DHistogramData
-
getYMax
public double getYMax()
- Specified by:
getYMaxin interfaceRebinnable2DHistogramData
-
getXAxisType
public int getXAxisType()
- Specified by:
getXAxisTypein interfaceRebinnable2DHistogramData
-
getYAxisType
public int getYAxisType()
- Specified by:
getYAxisTypein interfaceRebinnable2DHistogramData
-
getXAxisLabels
public java.lang.String[] getXAxisLabels()
- Specified by:
getXAxisLabelsin interfaceRebinnable2DHistogramData
-
getYAxisLabels
public java.lang.String[] getYAxisLabels()
- Specified by:
getYAxisLabelsin interfaceRebinnable2DHistogramData
-
startEnumeration
public ScatterEnumeration startEnumeration()
Description copied from interface:HasScatterPlotDataStarts the enumeration of points from the beginning, and the enumeration will include all points stored in the partition.- Specified by:
startEnumerationin interfaceHasScatterPlotData
-
startEnumeration
public ScatterEnumeration startEnumeration(double a, double b, double c, double d)
Description copied from interface:HasScatterPlotDataStarts the enumeration of points from the beginning, and the enumeration will include only points in the given range.- Specified by:
startEnumerationin interfaceHasScatterPlotData
-
getXBins
public int getXBins()
- Specified by:
getXBinsin interfaceRebinnable2DHistogramData
-
getYBins
public int getYBins()
- Specified by:
getYBinsin interfaceRebinnable2DHistogramData
-
hasScatterPlotData
public boolean hasScatterPlotData()
Description copied from interface:HasScatterPlotDataEven if a DataSource implements this interface it may not have any ScatterPlot data available at this time, hence the need for this method.- Specified by:
hasScatterPlotDatain interfaceHasScatterPlotData
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG