public abstract class AbstractSingleValueSetPlot extends java.lang.Object implements SingleValueSetPlot
SingleValueSetPlot that implements the methods from SetPlot via the additional methods in SingleValueSetPlot.| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String[] |
labels |
| Constructor and Description |
|---|
AbstractSingleValueSetPlot() |
| Modifier and Type | Method and Description |
|---|---|
double[] |
getCounts()
sum the contents of the dataset returning an array by set
|
java.lang.String[] |
getLegends()
get the legend strings
|
Table |
getTable(java.lang.String quantity)
Create a table representing the data in this
SetPlot. |
boolean |
hasLegends() |
void |
permSets(int new_nset,
int[] perm)
permute the contents of the sets in a Dataset
labels are also permuted/truncated.
|
void |
scale(float scale)
rescale all the data by a factor
|
void |
setLegends(java.lang.String[] leg)
set the legends strings These are the labels for the different sets in this
SetPlot |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, get, setgetNumSets, setNumSetspublic Table getTable(java.lang.String quantity)
SetPlotSetPlot.
Each set of data produces a row of the table keyed by the corresponding label.
The data columns produced are chosen by the implementing class subject to the advice that
multiple SetPlots that can co-exist in a single chart should also make sense when combined into
a single table.public final void permSets(int new_nset,
int[] perm)
SetPlotpublic void scale(float scale)
Plotpublic final double[] getCounts()
SetPlotpublic java.lang.String[] getLegends()
SetPlotgetLegends in interface SetPlotpublic void setLegends(java.lang.String[] leg)
SetPlotSetPlotsetLegends in interface SetPlotpublic boolean hasLegends()
hasLegends in interface SetPlot