I have a small question that could be obvious for many of you, but not for me...
Once you have your data inherited from QwtData
(e.g. in my case I have float numbers)
How do you pass it to setData (or setRawData in my case)?
Here the definitions of setData and setRawData:
(From qwtplotcurve manual)
void QwtPlotCurve::setData ( const double * xData,
const double * yData,
int size
)
void QwtPlotCurve::setData ( const double * xData, const double * yData, int size )
To copy to clipboard, switch view to plain text mode
void QwtPlotCurve::setRawData ( const double * xData,
const double * yData,
int size
)
void QwtPlotCurve::setRawData ( const double * xData, const double * yData, int size )
To copy to clipboard, switch view to plain text mode
I do not see the link in between my YourData (derived from QwtData) and how to "link" it to my QwtPlot...
Thank you...
Bookmarks