public interface SetPlot extends Plot
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
|
int |
getNumSets()
get the number of sets.
|
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 |
setLegends(java.lang.String[] leg)
set the legends strings These are the labels for the different sets in this
SetPlot |
void |
setNumSets(int nsets)
set Number of sets in this
SetPlot |
void setNumSets(int nsets)
SetPlot
nsets
- double[] getCounts()
int getNumSets()
void permSets(int new_nset, int[] perm)
new_nset
- number of sets to truncate toperm
- permutation array, can be many to one to merge setsboolean hasLegends()
java.lang.String[] getLegends()
void setLegends(java.lang.String[] leg)
SetPlot
leg
- Table getTable(java.lang.String quantity)
SetPlot
.
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 SetPlot
s that can co-exist in a single chart should also make sense when combined into
a single table.quantity
- Quantity name if known