LogScale Class Reference

log10 scale

#include <qwt3d_scale.h>

Inheritance diagram for LogScale:
Scale

List of all members.

Protected Member Functions

QString ticLabel (unsigned int idx) const
void setMinors (int val)
 LogScale ()
Scaleclone () const
void calculate ()

Member Function Documentation

void setMinors ( int  val  )  [protected, virtual]

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 (  )  [protected, virtual]

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:

Generated on Fri Oct 2 21:44:10 2009 for QwtPlot3D API by  doxygen 1.6.1