PDA

View Full Version : QWT Realtime Plot zoom



Gavin Harper
13th September 2010, 03:27
Hello,

I have been searching the code for a while now but with the QWT Realtime plot example, when you right click to zoom out, it resets the axis to 1000x1000.

Where in the code are these values set?

Thank you

Uwe
13th September 2010, 06:38
0->1000 is the default setting of a scale.

The effect you are describing happens, when a zoomer gets attached to a plot before replot has been called and the doReplot parameter of the zoomer has been set to false ( default is true ).

Without even checking the code I question, that this happens in the original realtime example.

Uwe

Gavin Harper
13th September 2010, 08:04
Brilliant!

Thank you very, very much!