SimCenterCommon
Common functionality used within different SimCenter projects
QCPErrorBarsData Class Reference

Holds the data of one single error bar for QCPErrorBars. More...

#include <qcustomplot.h>

Public Member Functions

 QCPErrorBarsData ()
 
 QCPErrorBarsData (double error)
 
 QCPErrorBarsData (double errorMinus, double errorPlus)
 

Public Attributes

double errorMinus
 
double errorPlus
 

Detailed Description

Holds the data of one single error bar for QCPErrorBars.

The stored data is:

  • errorMinus: how much the error bar extends towards negative coordinates from the data point position
  • errorPlus: how much the error bar extends towards positive coordinates from the data point position

The container for storing the error bar information is QCPErrorBarsDataContainer. It is a typedef for QVector<QCPErrorBarsData>.

See also
QCPErrorBarsDataContainer

Definition at line 5921 of file qcustomplot.h.

Constructor & Destructor Documentation

QCPErrorBarsData::QCPErrorBarsData ( )

Constructs an error bar with errors set to zero.

Definition at line 26676 of file qcustomplot.cpp.

QCPErrorBarsData::QCPErrorBarsData ( double  error)
explicit

Constructs an error bar with equal error in both negative and positive direction.

Definition at line 26685 of file qcustomplot.cpp.

QCPErrorBarsData::QCPErrorBarsData ( double  errorMinus,
double  errorPlus 
)

Constructs an error bar with negative and positive errors set to errorMinus and errorPlus, respectively.

Definition at line 26695 of file qcustomplot.cpp.

Member Data Documentation

double QCPErrorBarsData::errorMinus

Definition at line 5928 of file qcustomplot.h.

double QCPErrorBarsData::errorPlus

Definition at line 5928 of file qcustomplot.h.


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