Well, a curve displays a series of points - not values - so I guess your code adds the index as x coordinate. And now you want to use index * 0.3 as x coordinates ?
Uwe
Well, a curve displays a series of points - not values - so I guess your code adds the index as x coordinate. And now you want to use index * 0.3 as x coordinates ?
Uwe
Hi Uwe,
I think my answer to your question is yes. Let me clarify. I do not want to change the data in the plot, I just want to change the label of the X-axis. I also want to continue to plot the same number of samples.
Ryan
Derive from QwtScaleDraw, overload the label() method and pass it with QwtPlot::setAxisScaleDraw().
Uwe
Bookmarks