QwtPlot3D API  0.2.7
Protected Member Functions | List of all members
LogScale Class Reference

#include <qwt3d_scale.h>

Inheritance diagram for LogScale:
Scale

Protected Member Functions

QString ticLabel (unsigned int idx) const
void setMinors (int val)
 LogScale ()
Scaleclone () const
void calculate ()
- Protected Member Functions inherited from Scale
virtual void setLimits (double start, double stop)
virtual void setMajors (int val)
virtual void setMajorLimits (double start, double stop)
int majors () const
int minors () const
virtual int autoscale (double &a, double &b, double start, double stop, int ivals)

Additional Inherited Members

- Protected Attributes inherited from Scale
std::vector< double > majors_p
std::vector< double > minors_p
double start_p
double stop_p
int majorintervals_p
int minorintervals_p
double mstart_p
double mstop_p

Member Function Documentation

void setMinors ( int  val)
protectedvirtual

Sets the minor intervals for the logarithmic scale. Only values of 9,5,3 or 2 are accepted as arguments. They will produce mantissa sets of {2,3,4,5,6,7,8,9}, {2,4,6,8}, {2,5} or {5} respectively.

Reimplemented from Scale.

void calculate ( )
protectedvirtual

Creates major and minor vectors for the scale.

Warning
If the interval is too small, the scale becomes empty or will contain only a single major tic. There is no automatism (also not planned for now) for an 'intelligent' guess, what to do. Better switch manually to linear to scales in such cases.

Implements Scale.


The documentation for this class was generated from the following files: