Package net.sf.basedb.util.plot
Enum HistogramPlot.YAggregate
- All Implemented Interfaces:
Serializable
,Comparable<HistogramPlot.YAggregate>
,java.lang.constant.Constable
- Enclosing class:
- HistogramPlot
public static enum HistogramPlot.YAggregate extends Enum<HistogramPlot.YAggregate>
Defines what to to plot on the y axis in a histogram plot.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description COUNT
Plot the number of spots falling into each bin.HILOMAXMIN
Plot a high/low bar for each bin with the maximum and minimum values.HILOSTDEV
Plot a high/low bar for each bin with the mean +/- 1 standard deviation.MAX
Plot the maximum of all y-values for spots falling into each bin.MEAN
Plot the mean of all y-values for spots falling into each bin.MIN
Plot the minimum of all y-values for spots falling into each bin.STDEV
Plot the standard deviation of all y-values for spots falling into each bin.SUM
Plot the sum of all y-values for spots falling into each bin. -
Constructor Summary
Constructors Modifier Constructor Description private
YAggregate()
-
Method Summary
Modifier and Type Method Description abstract float
getMaxY(HistogramPlot.HistogramBin bin)
float
getMinY(HistogramPlot.HistogramBin bin)
static HistogramPlot.YAggregate
valueOf(String name)
Returns the enum constant of this type with the specified name.static HistogramPlot.YAggregate[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
COUNT
Plot the number of spots falling into each bin. -
SUM
Plot the sum of all y-values for spots falling into each bin. -
MEAN
Plot the mean of all y-values for spots falling into each bin. -
MAX
Plot the maximum of all y-values for spots falling into each bin. -
MIN
Plot the minimum of all y-values for spots falling into each bin. -
STDEV
Plot the standard deviation of all y-values for spots falling into each bin. -
HILOSTDEV
Plot a high/low bar for each bin with the mean +/- 1 standard deviation. -
HILOMAXMIN
Plot a high/low bar for each bin with the maximum and minimum values.
-
-
Constructor Details
-
YAggregate
private YAggregate()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getMaxY
-
getMinY
-