Documentation of 'org.jplot2d.transform.LogarithmicNormalTransform' Java class
LogarithmicNormalTransform
org.jplot2d.transform

Class LogarithmicNormalTransform



  • public class LogarithmicNormalTransform
    extends NormalTransform
    Performs a log transformation on Cartesian axes. The equation is worldvalue = 10^(scale * normalized v + offset)
    • Constructor Detail

      • LogarithmicNormalTransform

        public LogarithmicNormalTransform(Range ur)
      • LogarithmicNormalTransform

        public LogarithmicNormalTransform(double u1,
                                          double u2)
    • Method Detail

      • convToNR

        public double convToNR(double w)
        Transform from user to normalized coordinates.
        Specified by:
        convToNR in class NormalTransform
        Parameters:
        u - user value
        Returns:
        normalized value
      • convFromNR

        public double convFromNR(double p)
        Description copied from class: NormalTransform
        Transform a value from normalized range to value range.
        Specified by:
        convFromNR in class NormalTransform
        Parameters:
        p - normalized value
        Returns:
        world value
      • getMinPSpan4PrecisionLimit

        public double getMinPSpan4PrecisionLimit(double pLo,
                                                 double pHi,
                                                 double precisionLimit)
        t: the precision limit; u: the abs larger user point of range to zoom in
        The formula: p = _a * u + _b *
                 u'/u > 1 - t
                 10ˆ(_ap'-_b)/10ˆ(_ap-_b) > 1-t
                 10ˆ(_a(p'-p)) > 1-t
                 _a(p'-p) > log10(1-t)
                 dP > log10(1-t)/abs(_a)
         
        Specified by:
        getMinPSpan4PrecisionLimit in class NormalTransform
      • getRange4PrecisionLimit

        public Range getRange4PrecisionLimit(Range range,
                                             double precisionLimit)
      • createTransform

        public Transform1D createTransform(double d1,
                                           double d2)
        Description copied from class: NormalTransform
        Create a Transform1D by assign a dest range.
        Specified by:
        createTransform in class NormalTransform
        Parameters:
        d1 - the start value of dest range
        d2 - the end value of dest range
        Returns:
        a Transform1D
      • equals

        public boolean equals(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.