logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

QwtLogTransform - Logarithmic transformation.

Author

       Generated automatically by Doxygen for Qwt User's Guide from the source code.

Version 6.1.4                                    Wed Jan 2 2019                               QwtLogTransform(3)

Detailed Description

       Logarithmic transformation.

       QwtLogTransform modifies the values using log() and exp().

       Note:
           In the calculations of QwtScaleMap the base of the log function has no effect on the mapping. So
           QwtLogTransform can be used for log2(), log10() or any other logarithmic scale.

Member Function Documentation

doubleQwtLogTransform::bounded(doublevalue)const[virtual]Parameters:value Value to be bounded

       Returns:
           qBound( LogMin, value, LogMax )

       Reimplemented from QwtTransform.

   QwtTransform*QwtLogTransform::copy()const[virtual]Returns:
           Clone of the transformation

       Implements QwtTransform.

   doubleQwtLogTransform::invTransform(doublevalue)const[virtual]Parameters:value Value to be transformed

       Returns:
           exp( value )

       Implements QwtTransform.

   doubleQwtLogTransform::transform(doublevalue)const[virtual]Parameters:value Value to be transformed

       Returns:
           log( value )

       Implements QwtTransform.

Name

       QwtLogTransform - Logarithmic transformation.

Synopsis

       #include <qwt_transform.h>

       Inherits QwtTransform.

   PublicMemberFunctionsQwtLogTransform ()
           Constructor.
       virtual ~QwtLogTransform ()
           Destructor.
       virtual double transform (double value) const
       virtual double invTransform (double value) const
       virtual double bounded (double value) const
       virtual QwtTransform * copy () const

   PublicAttributes
       QT_STATIC_CONST double LogMin = 1.0e-150
           Smallest allowed value for logarithmic scales: 1.0e-150.
       QT_STATIC_CONST double LogMax = 1.0e150
           Largest allowed value for logarithmic scales: 1.0e150.

See Also