public interface Points
Modifier and Type | Method and Description |
---|---|
int |
getCount()
Returns the number of points in this dataset.
|
double[][] |
getErrors(int ipoint)
Reads the errors for one of the stored points.
|
String |
getLabel(int ipoint)
Returns a string associated with a given point.
|
int |
getNdim()
Returns the length of the coordinate array for each point.
|
int |
getNerror()
Returns the number of error points returned for each point.
|
double[] |
getPoint(int ipoint)
Reads the coordinates of one of the stored points.
|
boolean |
hasLabels()
Indicates whether a string label is associated with some points.
|
int getCount()
int getNdim()
double[] getPoint(int ipoint)
ipoint
- point indexint getNerror()
double[][] getErrors(int ipoint)
nerror
double[] arrays,
each of which has ndim
elements and represents the
coordinates of the end of an error bar. If any of these
coordinate arrays is null
, it represents an error
bar of zero size, that is one whose end sits right on the data point.
The ordering of these points is up to the user of this object,
but typically they will be in pairs, e.g. (xlo,xhi, ylo,hi, ...).
The content of the returned double[][] array and of its elements
may be modified by subsequent calls to this method. The caller is
also permitted to modify these.ipoint
- point indexboolean hasLabels()
getLabel(int)
may return a non-null value for
any pointString getLabel(int ipoint)
hasLabels()
returns true.ipoint
- point indexCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.