Re: Using Qwt with QVector
Hi,
how do you want to plot a series of floats? for each point, you need an x- and a y-value.
assuming, you have a QVector with x-values and a QVector with y-values, you can use "SetSamples(...)" (or thelike) to add your points to a curve. have a look at the documentation of QwtPlotCurve and you'll find the appropriate method.
hth,
Felix
Re: Using Qwt with QVector
Hi Felix,
I will have a look and see how I go. So is using QwtArraySeriesData the wrong way to go then?
Re: Using Qwt with QVector
it depends on how you have your data. if you have two QVector, you don't have to care about any data object - it will be created internally.