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

Constructor & Destructor Documentation

◆ QCPErrorBarsData() [1/3]

QCPErrorBarsData::QCPErrorBarsData ( )

Constructs an error bar with errors set to zero.

Definition at line 27911 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 27920 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 27930 of file qcustomplot.cpp.

Member Data Documentation

◆ errorMinus

double QCPErrorBarsData::errorMinus

Definition at line 6304 of file qcustomplot.h.

◆ errorPlus

double QCPErrorBarsData::errorPlus

Definition at line 6304 of file qcustomplot.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.