ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
QCPData Class Reference

Holds the data of one single data point for QCPGraph. More...

#include <qcustomplot.h>

Public Member Functions

 QCPData ()
 
 QCPData (double key, double value)
 

Public Attributes

double key
 
double value
 
double keyErrorPlus
 
double keyErrorMinus
 
double valueErrorPlus
 
double valueErrorMinus
 

Detailed Description

Holds the data of one single data point for QCPGraph.

The container for storing multiple data points is QCPDataMap.

The stored data is:

  • key: coordinate on the key axis of this data point
  • value: coordinate on the value axis of this data point
  • keyErrorMinus: negative error in the key dimension (for error bars)
  • keyErrorPlus: positive error in the key dimension (for error bars)
  • valueErrorMinus: negative error in the value dimension (for error bars)
  • valueErrorPlus: positive error in the value dimension (for error bars)
See also
QCPDataMap

Definition at line 2952 of file qcustomplot.h.

Constructor & Destructor Documentation

◆ QCPData() [1/2]

QCPData::QCPData ( )

Constructs a data point with key, value and all errors set to zero.

Definition at line 14788 of file qcustomplot.cpp.

◆ QCPData() [2/2]

QCPData::QCPData ( double  key,
double  value 
)

Constructs a data point with the specified key and value. All errors are set to zero.

Definition at line 14800 of file qcustomplot.cpp.

Member Data Documentation

◆ key

◆ keyErrorMinus

double QCPData::keyErrorMinus

Definition at line 2957 of file qcustomplot.h.

Referenced by QCPGraph::setDataBothError(), and QCPGraph::setDataKeyError().

◆ keyErrorPlus

double QCPData::keyErrorPlus

Definition at line 2957 of file qcustomplot.h.

Referenced by QCPGraph::setDataBothError(), and QCPGraph::setDataKeyError().

◆ value

◆ valueErrorMinus

double QCPData::valueErrorMinus

Definition at line 2958 of file qcustomplot.h.

Referenced by QCPGraph::setDataBothError(), and QCPGraph::setDataValueError().

◆ valueErrorPlus

double QCPData::valueErrorPlus

Definition at line 2958 of file qcustomplot.h.

Referenced by QCPGraph::setDataBothError(), and QCPGraph::setDataValueError().


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