QwtLogTransform(3)

πŸ’… QwtLogTransform(3) β€” she’s giving logarithmic transformation πŸ’…

okay so bestie, this page comes from the Library Functions Manual, and it’s literally all about QwtLogTransform β€” the logarithmic transformation. Let’s get into it. πŸ’–

πŸŽ€ NAME πŸŽ€

QwtLogTransform β€” Logarithmic transformation.

✨ SYNOPSIS ✨

#include <qwt_transform.h>

Inherits QwtTransform.

🌸 Public Member Functions 🌸

  • QwtLogTransform () β€” Constructor.
  • virtual ~QwtLogTransform () β€” Destructor.
  • virtual double transform (double value) const override
  • virtual double invTransform (double value) const override
  • virtual double bounded (double value) const override
  • QwtTransform * copy () const override

🫢 Public Member Functions inherited from QwtTransform 🫢

  • QwtTransform () β€” Constructor.
  • virtual ~QwtTransform () β€” Destructor.

🌈 Static Public Attributes 🌈

  • static const double LogMin = 1.0e-150 β€” Smallest allowed value for logarithmic scales: 1.0e-150.
  • static const double LogMax = 1.0e150 β€” Largest allowed value for logarithmic scales: 1.0e150.

πŸ’œ Detailed Description πŸ’œ

QwtLogTransform is a logarithmic transformation.

It 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.

Definition at line 100 of file qwt_transform.h.

🧚 Constructor & Destructor Documentation 🧚

🌸 QwtLogTransform::QwtLogTransform () 🌸

Constructor.

Definition at line 74 of file qwt_transform.cpp.

πŸ¦‹ QwtLogTransform::~QwtLogTransform () [virtual] πŸ¦‹

Destructor.

Definition at line 80 of file qwt_transform.cpp.

⭐ Member Function Documentation ⭐

🌟 double QwtLogTransform::bounded (double value) const [override], [virtual] 🌟

Parameters

  • value β€” Value to be bounded

Returns β€” qBound( LogMin, value, LogMax )

Reimplemented from QwtTransform.

Definition at line 106 of file qwt_transform.cpp.

πŸ¦‹ QwtTransform * QwtLogTransform::copy () const [override], [virtual] πŸ¦‹

Returns β€” Clone of the transformation

Implements QwtTransform.

Definition at line 112 of file qwt_transform.cpp.

🐚 double QwtLogTransform::invTransform (double value) const [override], [virtual] 🐚

Parameters

  • value β€” Value to be transformed

Returns β€” exp( value )

Implements QwtTransform.

Definition at line 97 of file qwt_transform.cpp.

πŸ”₯ double QwtLogTransform::transform (double value) const [override], [virtual] πŸ”₯

Parameters

  • value β€” Value to be transformed

Returns β€” log( value )

Implements QwtTransform.

Definition at line 88 of file qwt_transform.cpp.

πŸ’Ž Member Data Documentation πŸ’Ž

πŸ‘‘ const double QwtLogTransform::LogMax = 1.0e150 [static] πŸ‘‘

Largest allowed value for logarithmic scales: 1.0e150.

Definition at line 114 of file qwt_transform.h.

πŸ‘‘ const double QwtLogTransform::LogMin = 1.0e-150 [static] πŸ‘‘

Smallest allowed value for logarithmic scales: 1.0e-150.

Definition at line 113 of file qwt_transform.h.

🫢 Author 🫢

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

Cute sign-off: source/version is the Qwt User's Guide, the page is QwtLogTransform(3), and the footer had no date listed β€” so I’m not inventing one. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from