|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot.WrapperPlotData
uk.ac.starlink.ttools.plot.SubsetSelectionPlotData
public class SubsetSelectionPlotData
PlotData wrapper implementation which rearranges subset indexes.
Constructor Summary | |
---|---|
SubsetSelectionPlotData(PlotData base,
int[] isets)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class uk.ac.starlink.ttools.plot.WrapperPlotData |
---|
getNdim, getNerror, hasLabels |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubsetSelectionPlotData(PlotData base, int[] isets)
i
th subset in this object will be
the same as the isets[i]
th
one from base
.
base
- plot data on which this is basedisets
- list of the indices of subsets from base
which are to appear in this objectMethod Detail |
---|
public int getSetCount()
PlotData
getSetCount
in interface PlotData
getSetCount
in class WrapperPlotData
public String getSetName(int iset)
PlotData
getSetName
in interface PlotData
getSetName
in class WrapperPlotData
iset
- subset index
public Style getSetStyle(int iset)
PlotData
getSetStyle
in interface PlotData
getSetStyle
in class WrapperPlotData
iset
- subset index
public PointSequence getPointSequence()
PlotData
getPointSequence
in interface PlotData
getPointSequence
in class WrapperPlotData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |