Qwtarraydata -
#include <qwt_data.h>
Inherits QwtData.
QwtArrayData (const QwtArray< double > &x, const QwtArray< double > &y)
QwtArrayData (const double *x, const double *y, size_t size)
virtual QwtDoubleRect boundingRect () const
virtual QwtData * copy () const
QwtArrayData & operator= (const QwtArrayData &)
virtual size_t size () const
virtual double x (size_t i) const
const QwtArray< double > & xData () const
virtual double y (size_t i) const
const QwtArray< double > & yData () const
Data class containing two QwtArray<double> objects.
Constructor
Parameters:
x Array of x values
y Array of y values
See also:
QwtPlotCurve::setData()
Constructor
Parameters:
x Array of x values
y Array of y values
size Size of the x and y arrays
See also:
QwtPlotCurve::setData()
Returns the bounding rectangle of the data. If there is no bounding rect, like for empty data the rectangle is invalid: QwtDoubleRect::isValid() == false
Reimplemented from QwtData.
Returns:
Pointer to a copy (virtual copy constructor)
Implements QwtData.
Returns:
Size of the data set
Implements QwtData.
Return the x value of data point i
Parameters:
i Index
Returns:
x X value of data point i
Implements QwtData.
Returns:
Array of the x-values
Return the y value of data point i
Parameters:
i Index
Returns:
y Y value of data point i
Implements QwtData.
Returns:
Array of the y-values
Generated automatically by Doxygen for Qwt User's Guide from the source code.