QwtLogScaleEngine
A scale engine for logarithmic scales.
- Provided by: libqwt-doc (Version: 6.1.2-5)
- Source: qwt
- Report a bug
A scale engine for logarithmic scales.
#include <qwt_scale_engine.h>
Inherits QwtScaleEngine.
QwtLogScaleEngine (uint base=10)
virtual ~QwtLogScaleEngine ()
Destructor. virtual void autoScale (int maxSteps, double
&x1, double &x2, double &stepSize) const
virtual QwtScaleDiv divideScale (double x1, double x2, int
numMajorSteps, int numMinorSteps, double stepSize=0.0) const
Calculate a scale division for an interval.
QwtInterval align (const QwtInterval &,
double stepSize) const
Align an interval to a step size. void buildTicks (const
QwtInterval &, double stepSize, int maxMinSteps, QList< double
> ticks[QwtScaleDiv::NTickTypes]) const
Calculate ticks for an interval. QList< double >
buildMajorTicks (const QwtInterval &interval, double
stepSize) const
Calculate major ticks for an interval. void buildMinorTicks
(const QList< double > &majorTicks, int maxMinorSteps, double
stepSize, QList< double > &minorTicks, QList< double >
&mediumTicks) const
Calculate minor/medium ticks for major ticks.
A scale engine for logarithmic scales.
The step size is measured in decades and the major step size will be adjusted to fit the pattern $re n is a natural number including zero.
Warning:
Constructor
Parameters:
See Also:
Align an interval to a step size. The limits of an interval are aligned that both are integer multiples of the step size.
Parameters:
Returns:
Align and divide an interval
Parameters:
See Also:
Implements QwtScaleEngine.
Calculate major ticks for an interval.
Parameters:
Returns:
Calculate minor/medium ticks for major ticks.
Parameters:
Calculate ticks for an interval.
Parameters:
See Also:
Calculate a scale division for an interval.
Parameters:
Returns:
Implements QwtScaleEngine.
Generated automatically by Doxygen for Qwt User's Guide from the source code.