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 y direction. More...

#include <jkqtpgraphsbaseerrors.h>

Inheritance diagram for JKQTPYGraphErrorData:
[legend]

Public Member Functions

 JKQTPYGraphErrorData ()
 class contructor
 
virtual ~JKQTPYGraphErrorData ()=default
 
int getYErrorColumn () const
 the column that contains the error of the x-component of the datapoints
 
int getYErrorColumnLower () const
 the column that contains the error of the x-component of the datapoints. This is used as the lower error length, if yErrorSymmetric ==false.
 
JKQTPErrorPlotstyle getYErrorStyle () const
 how to draw the errors (if available) of the x-value
 
bool getYErrorSymmetric () const
 indicates whether the x-errors are symmetric (from one column only)
 
void setYErrorColumn (int __value)
 the column that contains the error of the x-component of the datapoints
 
void setYErrorColumnLower (int __value)
 the column that contains the error of the x-component of the datapoints. This is used as the lower error length, if yErrorSymmetric ==false.
 
void setYErrorStyle (JKQTPErrorPlotstyle __value)
 how to draw the errors (if available) of the x-value
 
void setYErrorSymmetric (bool __value)
 indicates whether the x-errors are symmetric (from one column only)
 

Protected Member Functions

virtual double getYErrorL (int i, const JKQTPDatastore *ds) const
 returns the lower y-error for the i-th datapoint, read from datastore ds
 
virtual double getYErrorU (int i, const JKQTPDatastore *ds) const
 returns the upper y-error for the i-th datapoint, read from datastore ds
 

Protected Attributes

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

Detailed Description

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

See also
JKQTPXGraphErrorData Mix-In Classes for Graphs

Constructor & Destructor Documentation

◆ JKQTPYGraphErrorData()

JKQTPYGraphErrorData::JKQTPYGraphErrorData ( )

class contructor

◆ ~JKQTPYGraphErrorData()

virtual JKQTPYGraphErrorData::~JKQTPYGraphErrorData ( )
virtualdefault

Member Function Documentation

◆ getYErrorColumn()

int JKQTPYGraphErrorData::getYErrorColumn ( ) const

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

◆ getYErrorColumnLower()

int JKQTPYGraphErrorData::getYErrorColumnLower ( ) const

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

◆ getYErrorL()

virtual double JKQTPYGraphErrorData::getYErrorL ( int  i,
const JKQTPDatastore ds 
) const
protectedvirtual

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

◆ getYErrorStyle()

JKQTPErrorPlotstyle JKQTPYGraphErrorData::getYErrorStyle ( ) const

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

◆ getYErrorSymmetric()

bool JKQTPYGraphErrorData::getYErrorSymmetric ( ) const

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

◆ getYErrorU()

virtual double JKQTPYGraphErrorData::getYErrorU ( int  i,
const JKQTPDatastore ds 
) const
protectedvirtual

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

◆ setYErrorColumn()

void JKQTPYGraphErrorData::setYErrorColumn ( int  __value)

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

◆ setYErrorColumnLower()

void JKQTPYGraphErrorData::setYErrorColumnLower ( int  __value)

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

◆ setYErrorStyle()

void JKQTPYGraphErrorData::setYErrorStyle ( JKQTPErrorPlotstyle  __value)

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

◆ setYErrorSymmetric()

void JKQTPYGraphErrorData::setYErrorSymmetric ( bool  __value)

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

Member Data Documentation

◆ yErrorColumn

int JKQTPYGraphErrorData::yErrorColumn
protected

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

◆ yErrorColumnLower

int JKQTPYGraphErrorData::yErrorColumnLower
protected

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

◆ yErrorStyle

JKQTPErrorPlotstyle JKQTPYGraphErrorData::yErrorStyle
protected

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

◆ yErrorSymmetric

bool JKQTPYGraphErrorData::yErrorSymmetric
protected

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


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