Hi everyone !
I'm developing an app which plots data using Qwt (5.2.0) and Qt 4.5.3.
My data is contained in two "vector<vector<double> >" matrixes.
I have a QMainWindow, with QSubWindows containing each a QwtPlot and some QComboBoxes to set the combination of line/column to plot (fixed line or fixed column etc).
The matrixes are in a class which is only instanciated once.
So I have created a class, which inherits QwtData and uses the data in the matrixes for the output of "double x(size_t i)" and "double y(size_t i)". Now if I change a parameter in my data class, I want the plot to redraw/refresh.
I tried "QwtPlot::replot()", "QwtPlotItem::itemChanged()" but it doesn't work.
Thanks in advance,
M.
Bookmarks