public interface DataSet2D extends DataSet
| Modifier and Type | Method and Description |
|---|---|
int |
getDataCount()
Get the number of data points in the data set.
|
default int |
getDataCount(int dim)
Get the number of data points in the data set
|
default int |
getDimension() |
default double |
getValue(double x)
Gets the interpolated y value of the data point for given x coordinate
|
default double |
getValue(int dimIndex,
double x)
Gets the interpolated y value of the data point for given x coordinate
|
default double |
getX(int index)
Gets the x value of the data point with the index i
|
default int |
getXIndex(double x)
Gets the index of the data point closest to the given x coordinate.
|
default double[] |
getXValues() |
default double |
getY(int index)
Gets the y value of the data point with the index i
|
default int |
getYIndex(double y)
Gets the first index of the data point closest to the given y coordinate.
|
default double[] |
getYValues() |
get, getAxisDescription, getAxisDescriptions, getDataLabel, getIndex, getName, getStyle, getStyle, getValues, lock, recomputeLimits, setStyleaddListener, autoNotification, invokeListener, invokeListener, invokeListener, isAutoNotification, removeListener, updateEventListenerint getDataCount()
getDataCount in interface DataSetdefault int getDataCount(int dim)
getDataCount in interface DataSetdim - the dimension index (ie. '0' equals 'X', '1' equals 'Y')default int getDimension()
getDimension in interface DataSetdefault double getValue(double x)
x - the new x coordinatedefault double getValue(int dimIndex,
double x)
default double getX(int index)
index - the data point indexdefault int getXIndex(double x)
x - the x position of the data pointdefault double[] getXValues()
default double getY(int index)
index - the data point indexdefault int getYIndex(double y)
y - the y position of the data pointdefault double[] getYValues()
Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.