QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
Protected Member Functions | Friends | List of all members
Qwt3D::LogScale Class Reference

Log10 scale . More...

#include <qwt3d_scale.h>

Inheritance diagram for Qwt3D::LogScale:
Qwt3D::Scale

Protected Member Functions

QString ticLabel (unsigned int idx) const
 Returns a power of 10 associated to the major value at index idx.
 
void setMinors (int val)
 Sets the minor intervals for the logarithmic scale.
 
 LogScale ()
 Default constructor - sets 9 minor intervals .
 
Scaleclone () const
 
void calculate ()
 Creates major and minor vectors for the logarithmic scale.
 
- Protected Member Functions inherited from Qwt3D::Scale
virtual void setLimits (double start, double stop)
 Sets start and stop value for the scale.
 
virtual void setMajors (int val)
 
virtual void setMajorLimits (double start, double stop)
 Sets value of first and last major tic.
 
int majors () const
 
int minors () const
 
virtual int autoscale (double &a, double &b, double start, double stop, int ivals)
 Autoscales the axis.
 

Friends

class Axis
 Indices used to identify an axis.
 
class qwt3d_ptr< Scale >
 

Additional Inherited Members

- Protected Attributes inherited from Qwt3D::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
 

Detailed Description

Log10 scale

.

Constructor & Destructor Documentation

◆ LogScale()

LogScale::LogScale ( )
protected

Default constructor - sets 9 minor intervals .

Member Function Documentation

◆ calculate()

void LogScale::calculate ( )
protectedvirtual

Creates major and minor vectors for the logarithmic scale.

Implements Qwt3D::Scale.

◆ clone()

Scale * Qwt3D::LogScale::clone ( ) const
inlineprotectedvirtual

Implements Qwt3D::Scale.

◆ setMinors()

void LogScale::setMinors ( int  val)
protectedvirtual

Sets the minor intervals for the logarithmic scale.

Reimplemented from Qwt3D::Scale.

◆ ticLabel()

QString LogScale::ticLabel ( unsigned int  idx) const
protectedvirtual

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

Reimplemented from Qwt3D::Scale.

Friends And Related Symbol Documentation

◆ Axis

friend class Axis
friend

Indices used to identify an axis.

See also
Scale

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