public class LogarithmicAxisTransform extends AbstractAxisTransform
| Type | Property and Description |
|---|---|
DoubleProperty |
logarithmBase
Base of the logarithm used by the axis, must be grater than 1.
|
| Modifier and Type | Field and Description |
|---|---|
static double |
DB10_LOGARITHM_BASE |
static double |
DB20_LOGARITHM_BASE |
static double |
DEFAULT_LOG_MIN_VALUE |
static double |
DEFAULT_LOGARITHM_BASE |
axis, rangeMax, rangeMin| Constructor and Description |
|---|
LogarithmicAxisTransform(Axis axis) |
| Modifier and Type | Method and Description |
|---|---|
double |
backward(double val)
default backward transform for affine functions: backward(forward(val)) = forward(backward(val)) = val;
|
double |
forward(double val)
default forward transform for affine functions: backward(forward(val)) = forward(backward(val)) = val;
|
double |
getLogarithmBase()
Returns the value of the
logarithmBaseProperty(). |
double |
getRoundedMaximumRange(double max) |
double |
getRoundedMinimumRange(double min) |
protected double |
log(double value) |
DoubleProperty |
logarithmBaseProperty()
Base of the logarithm used by the axis, must be grater than 1.
|
protected double |
pow(double value) |
void |
setLogarithmBase(double value)
Sets value of the
logarithmBaseProperty(). |
void |
setMaximumRange(double val) |
void |
setMinimumRange(double val) |
getMaximumRange, getMinimumRangepublic DoubleProperty logarithmBaseProperty
Default value: 10
getLogarithmBase(),
setLogarithmBase(double)public static final double DEFAULT_LOGARITHM_BASE
public static final double DEFAULT_LOG_MIN_VALUE
public static final double DB20_LOGARITHM_BASE
public static final double DB10_LOGARITHM_BASE
public LogarithmicAxisTransform(Axis axis)
public double backward(double val)
AxisTransformval - input valuepublic double forward(double val)
AxisTransformval - input valuepublic double getLogarithmBase()
logarithmBaseProperty().public double getRoundedMaximumRange(double max)
public double getRoundedMinimumRange(double min)
protected double log(double value)
public DoubleProperty logarithmBaseProperty()
Default value: 10
getLogarithmBase(),
setLogarithmBase(double)protected double pow(double value)
public void setLogarithmBase(double value)
logarithmBaseProperty().value - base of the logarithm, value > 1public void setMaximumRange(double val)
setMaximumRange in interface AxisTransformsetMaximumRange in class AbstractAxisTransformpublic void setMinimumRange(double val)
setMinimumRange in interface AxisTransformsetMinimumRange in class AbstractAxisTransformCopyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.