| Constructor and Description |
|---|
ArrayPlotData(int nset,
String[] setNames,
Style[] setStyles,
int ndim,
int nerror,
boolean hasLabels,
PointData[] points)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ArrayPlotData |
copyPlotData(PlotData data)
Factory method which constructs a new ArrayPlotData object
with data which is a copy of that taken from a supplied
PlotData object. |
int |
getNdim()
Returns the dimensionality of data points in this object.
|
int |
getNerror()
Returns the number of error points per data point in this object.
|
PointData[] |
getPoints()
Returns the point array supplying the data for this object.
|
PointSequence |
getPointSequence()
Returns an iterator over the data points in this object.
|
int |
getSetCount()
Returns the number of subsets in this object.
|
String |
getSetName(int iset)
Returns the name for a given subset.
|
Style |
getSetStyle(int iset)
Returns the plotting style for a given subset.
|
boolean |
hasLabels()
Indicates whether there are or may be text labels
associated with the data points in this object.
|
void |
setPoints(PointData[] points)
Sets the point array supplying the data for this object.
|
public ArrayPlotData(int nset,
String[] setNames,
Style[] setStyles,
int ndim,
int nerror,
boolean hasLabels,
PointData[] points)
nset - number of subsetssetNames - nset-element array of subset namessetStyles - nset-element array of subset stylesndim - data point dimensionalitynerror - number of error values for each pointhasLabels - whether there are per-point text labelspoints - point data arraypublic int getSetCount()
PlotDatagetSetCount in interface PlotDatapublic String getSetName(int iset)
PlotDatagetSetName in interface PlotDataiset - subset indexpublic Style getSetStyle(int iset)
PlotDatagetSetStyle in interface PlotDataiset - subset indexpublic int getNdim()
PlotDatagetNdim in interface PlotDataPointSequence.getPoint() return valuespublic int getNerror()
PlotDatagetNerror in interface PlotDataPointSequence.getErrors() return valuespublic boolean hasLabels()
PlotDatahasLabels in interface PlotDataPointSequence.getLabel() may have non-null returnspublic PointSequence getPointSequence()
PlotDatagetPointSequence in interface PlotDatapublic void setPoints(PointData[] points)
points - point arraypublic PointData[] getPoints()
public static ArrayPlotData copyPlotData(PlotData data)
PlotData object.data - data object to copyCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.