quickplot
Loading...
Searching...
No Matches
Signals | Public Member Functions | List of all members
LogAxis Class Reference

#include <logAxis.h>

Inheritance diagram for LogAxis:
Collaboration diagram for LogAxis:

Signals

void dataChanged ()
 
- Signals inherited from Axis
void dataChanged ()
 

Public Member Functions

std::vector< float > convert (QList< double > values) const override
 
double tickCoord (int index) const override
 
void nudge (double delta)
 
- Public Member Functions inherited from Axis
virtual std::vector< float > convert (QList< double > values) const
 
AxisTickLabelstickLabels ()
 
Direction direction () const
 
double minimum () const
 
void setMinimum (const double value)
 
double maximum () const
 
void setMaximum (const double value)
 
int tickCount () const
 
double tick (int index) const
 
virtual double tickCoord (int index) const
 

Additional Inherited Members

- Public Types inherited from Axis
enum  Direction { Z , Y , X }
 
- Public Slots inherited from Axis
virtual void nudge (double delta)
 
- Protected Attributes inherited from Axis
std::vector< double > tics_
 
double minimum_
 
double maximum_
 
- Properties inherited from Axis
double thickness
 
double minimum
 
double maximum
 
Direction direction
 
AxisTickLabelstickLabels
 
int tickCount
 

Detailed Description

An axis with logarithmic scaling

Member Function Documentation

◆ convert()

std::vector< float > LogAxis::convert ( QList< double >  values) const
overridevirtual

Translate data space values into plot space values. Subclasses will overload this method to enable different scaling methods (e.g. log scaling).

Reimplemented from Axis.

◆ nudge()

void LogAxis::nudge ( double  delta)
virtual

Shift the axis bounds by a given distance

Reimplemented from Axis.

◆ tickCoord()

double LogAxis::tickCoord ( int  index) const
overridevirtual

Access the position of an individual tick label by index

Reimplemented from Axis.


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