LogScale Class Reference

log10 scale

#include <qwt3d_scale.h>

Inheritance diagram for LogScale:


List of all members.

Protected Member Functions

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

Constructor & Destructor Documentation

LogScale (  )  [protected]

Standard ctor.

Member Function Documentation

QString ticLabel ( unsigned int  idx  )  const [protected, virtual]

Returns a power of 10 associated to the major value at index idx.

Reimplemented from Scale.

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.

Scale* clone (  )  const [inline, protected, virtual]

Returns a new heap based object utilized from qwt3d_ptr.

Implements Scale.

void calculate (  )  [protected, virtual]

Creates major and minor vectors for the scale.

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 Sun Jun 7 00:16:33 2009 for QwtPlot3D API by  doxygen 1.5.8