public final class Log10Transform extends GJAbstractDataTransform
nf
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.lang.Double> |
getAxisTickPositions(double start,
double stop,
double inc) |
double |
getData(double val)
Transforms and returns a single value.
|
double[] |
getData(double[] arr)
Transforms and returns an array of values.
|
static Log10Transform |
getInstance() |
double |
getInverse(double val)
Returns the inverse transform of the specified value.
|
java.util.ArrayList<java.lang.Double> |
getMinorGridPositions(double start,
double stop,
double inc,
int n) |
java.lang.String |
getName()
The name for this transform as a String
|
java.lang.String |
getTickLabel(double val)
Returns a String based on the input value which can be used to label the
axes.
|
getInverse, getNumberFormatter
public static Log10Transform getInstance()
public java.lang.String getName()
GJDataTransformInterface
public final double getData(double val)
GJDataTransformInterface
val
- the value to transformpublic final double[] getData(double[] arr)
GJDataTransformInterface
arr
- array to transformpublic final double getInverse(double val)
GJDataTransformInterface
public final java.lang.String getTickLabel(double val)
GJDataTransformInterface
public java.util.ArrayList<java.lang.Double> getAxisTickPositions(double start, double stop, double inc)
start
- typically the left-hand/bottom of the axis rangestop
- typically the right-hand/top of the axis rangeinc
- distance between major gridspublic java.util.ArrayList<java.lang.Double> getMinorGridPositions(double start, double stop, double inc, int n)
n
- number of minor grid positions