|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot.PlotState
uk.ac.starlink.ttools.plot.HistogramPlotState
public class HistogramPlotState
Specialisation of PlotState for use with histograms.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class uk.ac.starlink.ttools.plot.PlotState |
---|
PlotState.SimpleValueInfo |
Constructor Summary | |
---|---|
HistogramPlotState()
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
double |
getBinBase()
Returns the lower bound for one of the bins. |
double |
getBinWidth()
Returns the bin width for the histogram. |
boolean |
getCumulative()
Determines whether the histogram is conventional or cumulative. |
boolean |
getNormalised()
Determines whether the histogram is normlalised to a total value of unity. |
boolean |
getWeighted()
Determines whether non-unit weighting is (maybe) in force for this state. |
int |
hashCode()
|
void |
setBinBase(double base)
Sets the lower bound for one of the bins. |
void |
setBinWidth(double width)
Sets the bin width for the histogram. |
void |
setCumulative(boolean cumulative)
Sets whether the histogram should be conventional or cumulative. |
void |
setNormalised(boolean normalised)
Sets whether the histogram is to be normalised to a total value of unity. |
void |
setWeighted(boolean weighted)
Sets whether non-unit weighting is (maybe) in force for this state. |
Methods inherited from class uk.ac.starlink.ttools.plot.PlotState |
---|
compare, getAntialias, getAxes, getAxisLabels, getConverters, getFlipFlags, getGrid, getLogFlags, getMainNdim, getPlotData, getRanges, getShaders, getValid, setAntialias, setAxes, setAxisLabels, setConverters, setFlipFlags, setGrid, setLogFlags, setMainNdim, setPlotData, setRanges, setShaders, setValid |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HistogramPlotState()
Method Detail |
---|
public void setBinWidth(double width)
width
- new bin widthpublic double getBinWidth()
public void setBinBase(double base)
base
- new bin basepublic double getBinBase()
public void setCumulative(boolean cumulative)
cumulative
- true iff you want a cumulative plotpublic boolean getCumulative()
public void setWeighted(boolean weighted)
weighted
- whether weights are usedpublic boolean getWeighted()
public void setNormalised(boolean normalised)
normalised
- whether to normalise histogrampublic boolean getNormalised()
public boolean equals(Object o)
equals
in class PlotState
public int hashCode()
hashCode
in class PlotState
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |