Class DataHelper
- java.lang.Object
-
- adams.gui.visualization.container.DataHelper
-
public class DataHelper extends Object
Helper class for data.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description DataHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpreadSheet
filter(SpreadSheet data, int xCol, double[] xRange, int yCol, double[] yRange)
Filters the data, using the specified ranges.static SpreadSheet
filter(SpreadSheet data, String xColName, double[] xRange, String yColName, double[] yRange)
Filters the data, using the specified ranges.
-
-
-
Method Detail
-
filter
public static SpreadSheet filter(SpreadSheet data, String xColName, double[] xRange, String yColName, double[] yRange)
Filters the data, using the specified ranges.- Parameters:
data
- the data to filterxRange
- optional limits for X valuesyRange
- optional limits for Y values- Returns:
- the filtered data
-
filter
public static SpreadSheet filter(SpreadSheet data, int xCol, double[] xRange, int yCol, double[] yRange)
Filters the data, using the specified ranges.- Parameters:
data
- the data to filterxRange
- optional limits for X valuesyRange
- optional limits for Y values- Returns:
- the filtered data
-
-