|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IAxis
An IAxis represents a binned histogram axis. A 1D Histogram would have one Axis representing the X axis, while a 2D Histogram would have two axes representing the X and Y Axis.
| Field Summary | |
|---|---|
static int |
OVERFLOW_BIN
Constants specifying the underflow and the overflow bin. |
static int |
UNDERFLOW_BIN
Constants specifying the underflow and the overflow bin. |
| Method Summary | |
|---|---|
double |
binCenter(int index)
Get the center of the specified bin. |
double |
binLowerEdge(int index)
Get the lower edge of the specified bin. |
int |
bins()
The number of bins (excluding underflow and overflow) on the IAxis. |
double |
binUpperEdge(int index)
Get the upper edge of the specified bin. |
double |
binWidth(int index)
Get the width of the specified bin. |
int |
coordToIndex(double coord)
Convert a coordinate on the axis to a bin number. |
boolean |
isFixedBinning()
Check if the IAxis has fixed binning, i.e. |
double |
lowerEdge()
Get the lower edge of the IAxis. |
double |
upperEdge()
Get the upper edge of the IAxis. |
| Field Detail |
|---|
static final int UNDERFLOW_BIN
static final int OVERFLOW_BIN
| Method Detail |
|---|
boolean isFixedBinning()
true if the binning is fixed, false otherwise.double lowerEdge()
double upperEdge()
int bins()
double binLowerEdge(int index)
index - The bin number: 0 to bins()-1 for the in-range bins or OVERFLOW or UNDERFLOW.
double binUpperEdge(int index)
index - The bin number: 0 to bins()-1 for the in-range bins or OVERFLOW or UNDERFLOW.
double binWidth(int index)
index - The bin number: 0 to bins()-1) for the in-range bins or OVERFLOW or UNDERFLOW.
double binCenter(int index)
index - The bin number: 0 to bins()-1) for the in-range bins or OVERFLOW or UNDERFLOW.
int coordToIndex(double coord)
coord - The coordinate to be converted.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||