Vespucci  1.0.0
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 2517 of file qcustomplot.h.

Constructor & Destructor Documentation

QCPData::QCPData ( )

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

Definition at line 14909 of file qcustomplot.cpp.

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 14922 of file qcustomplot.cpp.

Member Data Documentation

double QCPData::key

Definition at line 2522 of file qcustomplot.h.

double QCPData::keyErrorMinus

Definition at line 2523 of file qcustomplot.h.

double QCPData::keyErrorPlus

Definition at line 2523 of file qcustomplot.h.

double QCPData::value

Definition at line 2522 of file qcustomplot.h.

double QCPData::valueErrorMinus

Definition at line 2524 of file qcustomplot.h.

double QCPData::valueErrorPlus

Definition at line 2524 of file qcustomplot.h.


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