ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
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 7067 of file qcustomplot.h.

Constructor & Destructor Documentation

◆ QCPErrorBarsData() [1/3]

QCPErrorBarsData::QCPErrorBarsData ( )

Constructs an error bar with errors set to zero.

Definition at line 29005 of file qcustomplot.cpp.

◆ QCPErrorBarsData() [2/3]

QCPErrorBarsData::QCPErrorBarsData ( double  error)
explicit

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

Definition at line 29011 of file qcustomplot.cpp.

◆ QCPErrorBarsData() [3/3]

QCPErrorBarsData::QCPErrorBarsData ( double  errorMinus,
double  errorPlus 
)

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

Definition at line 29018 of file qcustomplot.cpp.

Member Data Documentation

◆ errorMinus

double QCPErrorBarsData::errorMinus

Definition at line 7073 of file qcustomplot.h.

◆ errorPlus

double QCPErrorBarsData::errorPlus

Definition at line 7073 of file qcustomplot.h.


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