de.gsi.chart.axes.spi.transforms.LogarithmicTimeAxisTransform Maven / Gradle / Ivy
package de.gsi.chart.axes.spi.transforms;
import de.gsi.chart.axes.Axis;
/**
* @author rstein
*/
public class LogarithmicTimeAxisTransform extends LogarithmicAxisTransform {
public LogarithmicTimeAxisTransform(final Axis axis) {
super(axis);
}
@Override
public double forward(final double val) {
// return log(rangeMax - val);
return log(val);
}
@Override
public double backward(final double val) {
// return pow(val) + rangeMax;
return pow(val);
}
}