JKQTPlotter trunk/v5.0.0
an extensive Qt5+Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
Loading...
Searching...
No Matches

This class adds data fields for error indicators in x direction. More...

#include <jkqtpgraphsbaseerrors.h>

Inheritance diagram for JKQTPXGraphErrorData:
[legend]

Public Member Functions

 JKQTPXGraphErrorData ()
 class contructor
 
virtual ~JKQTPXGraphErrorData ()=default
 
int getXErrorColumn () const
 the column that contains the error of the x-component of the datapoints
 
int getXErrorColumnLower () const
 the column that contains the error of the x-component of the datapoints. This is used as the lower error length, if xErrorSymmetric ==false.
 
JKQTPErrorPlotstyle getXErrorStyle () const
 how to draw the errors (if available) of the x-value
 
bool getXErrorSymmetric () const
 indicates whether the x-errors are symmetric (from one column only)
 
void setXErrorColumn (int __value)
 the column that contains the error of the x-component of the datapoints
 
void setXErrorColumnLower (int __value)
 the column that contains the error of the x-component of the datapoints. This is used as the lower error length, if xErrorSymmetric ==false.
 
void setXErrorStyle (JKQTPErrorPlotstyle __value)
 how to draw the errors (if available) of the x-value
 
void setXErrorSymmetric (bool __value)
 indicates whether the x-errors are symmetric (from one column only)
 

Protected Member Functions

virtual double getXErrorL (int i, const JKQTPDatastore *ds) const
 returns the lower x-error for the i-th datapoint, read from datastore ds
 
virtual double getXErrorU (int i, const JKQTPDatastore *ds) const
 returns the upper x-error for the i-th datapoint, read from datastore ds
 

Protected Attributes

int xErrorColumn
 the column that contains the error of the x-component of the datapoints
 
int xErrorColumnLower
 the column that contains the error of the x-component of the datapoints. This is used as the lower error length, if xErrorSymmetric ==false.
 
JKQTPErrorPlotstyle xErrorStyle
 how to draw the errors (if available) of the x-value
 
bool xErrorSymmetric
 indicates whether the x-errors are symmetric (from one column only)
 

Detailed Description

This class adds data fields for error indicators in x direction.

See also
JKQTPYGraphErrorData, Mix-In Classes for Graphs

Constructor & Destructor Documentation

◆ JKQTPXGraphErrorData()

JKQTPXGraphErrorData::JKQTPXGraphErrorData ( )

class contructor

◆ ~JKQTPXGraphErrorData()

virtual JKQTPXGraphErrorData::~JKQTPXGraphErrorData ( )
virtualdefault

Member Function Documentation

◆ getXErrorColumn()

int JKQTPXGraphErrorData::getXErrorColumn ( ) const

the column that contains the error of the x-component of the datapoints

◆ getXErrorColumnLower()

int JKQTPXGraphErrorData::getXErrorColumnLower ( ) const

the column that contains the error of the x-component of the datapoints. This is used as the lower error length, if xErrorSymmetric ==false.

◆ getXErrorL()

virtual double JKQTPXGraphErrorData::getXErrorL ( int  i,
const JKQTPDatastore ds 
) const
protectedvirtual

returns the lower x-error for the i-th datapoint, read from datastore ds

◆ getXErrorStyle()

JKQTPErrorPlotstyle JKQTPXGraphErrorData::getXErrorStyle ( ) const

how to draw the errors (if available) of the x-value

◆ getXErrorSymmetric()

bool JKQTPXGraphErrorData::getXErrorSymmetric ( ) const

indicates whether the x-errors are symmetric (from one column only)

◆ getXErrorU()

virtual double JKQTPXGraphErrorData::getXErrorU ( int  i,
const JKQTPDatastore ds 
) const
protectedvirtual

returns the upper x-error for the i-th datapoint, read from datastore ds

◆ setXErrorColumn()

void JKQTPXGraphErrorData::setXErrorColumn ( int  __value)

the column that contains the error of the x-component of the datapoints

◆ setXErrorColumnLower()

void JKQTPXGraphErrorData::setXErrorColumnLower ( int  __value)

the column that contains the error of the x-component of the datapoints. This is used as the lower error length, if xErrorSymmetric ==false.

◆ setXErrorStyle()

void JKQTPXGraphErrorData::setXErrorStyle ( JKQTPErrorPlotstyle  __value)

how to draw the errors (if available) of the x-value

◆ setXErrorSymmetric()

void JKQTPXGraphErrorData::setXErrorSymmetric ( bool  __value)

indicates whether the x-errors are symmetric (from one column only)

Member Data Documentation

◆ xErrorColumn

int JKQTPXGraphErrorData::xErrorColumn
protected

the column that contains the error of the x-component of the datapoints

◆ xErrorColumnLower

int JKQTPXGraphErrorData::xErrorColumnLower
protected

the column that contains the error of the x-component of the datapoints. This is used as the lower error length, if xErrorSymmetric ==false.

◆ xErrorStyle

JKQTPErrorPlotstyle JKQTPXGraphErrorData::xErrorStyle
protected

how to draw the errors (if available) of the x-value

◆ xErrorSymmetric

bool JKQTPXGraphErrorData::xErrorSymmetric
protected

indicates whether the x-errors are symmetric (from one column only)


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