Hi all,
My curve passes a filter before I present the graph.
Because I do not want to present all the points, but I want that when I do a zoom to get a higher resolution of the points.
I currently have implementation of zoom that expands the scales.
zoomer
->setRubberBandPen
( QColor( Qt
::white ) );
zoomer
->setTrackerPen
( QColor( Qt
::white ) );
Qt::RightButton, Qt::ControlModifier );
Qt::RightButton );
QwtPlotZoomer* zoomer = new QwtPlotZoomer( canvas() );
zoomer->setRubberBandPen( QColor( Qt::white ) );
zoomer->setTrackerPen ( QColor( Qt::white ) );
zoomer->setMousePattern( QwtEventPattern::MouseSelect2,
Qt::RightButton, Qt::ControlModifier );
zoomer->setMousePattern( QwtEventPattern::MouseSelect3,
Qt::RightButton );
To copy to clipboard, switch view to plain text mode
I want to add to the implementation the possibility of drawing more points.
My question is there code already prepared to do it?
If not, for a start will help me to know how to get the values ​​of X axis when the user selected era to zoom.
My setup
Qt 4.7.0
QwtPlot 6.0.0
Windwos XP SP3 (32bit)
I
Bookmarks