QCPErrorBarsData

Search for usage in LXR

QCPErrorBarsData Class Reference

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 6239 of file qcustomplot.h.

Constructor & Destructor Documentation

◆ QCPErrorBarsData() [1/3]

QCPErrorBarsData::QCPErrorBarsData ( )

Constructs an error bar with errors set to zero.

Definition at line 27891 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 27900 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 27910 of file qcustomplot.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 2 2023 04:05:58 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.