Automatic beautifying of linear scales.
More...
#include <qwt3d_autoscaler.h>
|
|
| LinearAutoScaler (std::vector< double > &mantisses) |
| |
| AutoScaler * | clone () const override |
| | Returns a deep copy of this autoscaler.
|
| |
| int | execute (double &a, double &b, double start, double stop, int ivals) override |
| |
|
void | copyStateFrom (const LinearAutoScaler &other) |
| |
Automatic beautifying of linear scales.
◆ clone()
◆ execute()
| int LinearAutoScaler::execute |
( |
double & |
a, |
|
|
double & |
b, |
|
|
double |
start, |
|
|
double |
stop, |
|
|
int |
ivals |
|
) |
| |
|
overrideprotectedvirtual |
@brief Does the actual scaling
@return Number of intervals after rescaling. This will in the most cases differ
from the requested interval number! Always >0.
@param a Start value after scaling (always >= start)
@param b Stop value after scaling (always <= stop)
- Parameters
-
| start | Start value |
| stop | Stop value |
| ivals | Requested intervals |
- Returns
- Number of intervals after autoscaling
If the given interval has zero length the function returns the current
interval number and a and b remain unchanged.
Implements Qwt3D::AutoScaler.
The documentation for this class was generated from the following files:
- /home/runner/work/QWT/QWT/src/plot3d/qwt3d_autoscaler.h
- /home/runner/work/QWT/QWT/src/plot3d/qwt3d_autoscaler.cpp