Class AxisLogE<T extends AxisScalePolicyTransformation>

  • Type Parameters:
    T - Used to enforce that this instance only accepts AxisScalePolicyTransformation and subtypes.
    All Implemented Interfaces:
    IAxis<T>, java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener

    public class AxisLogE<T extends AxisScalePolicyTransformation>
    extends AAxisTransformation<T>
    An AAxis with log scaled display of values.

    Caution

    This will not work with negative values (Double.NaN is computed for log of negative values).

    This will even not work with values < 1.0 as the log transformation turns negative for values < 1.0 and becomes Double.NEGATIVE_INFINITY with lim -> 0.0 with more and more turns to a 100 % CPU load.

    Version:
    $Revision: 1.13 $
    Author:
    Pieter-Jan Busschaert (contributor), Achim Westermann
    See Also:
    Serialized Form
    • Constructor Detail

      • AxisLogE

        public AxisLogE​(IAxisLabelFormatter formatter,
                        T scalePolicy)
        Creates an instance that will the given label formatter for formatting labels.

        Parameters:
        formatter - needed for formatting labels of this axis. Prefer using simple implementations like LabelFormatterSimple, a log axis is complicated enough to understand.
        scalePolicy - controls the ticks/labels and their distance.