Salut,

Je souhaiterai faire un zoom sur ma courbe mais l'exemple sur le FAQ ne marche pas.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
QApplication app(argc,argv);
 
    QwtPlot myPlot;
    QwtPlotGrid myGrid;
    myGrid.attach(&myPlot);
    QwtPlotZoomer myZoomer(myPlot.canvas());
 
    myPlot.replot();
    myPlot.show();