I searched the forum for similar threads but couldn't find the answer to my problem so I post it hoping someone will help me out:
I use QwtPlot to make a simple 2D plot (following the bode example literally word by word). There are 2 problems that I've been scratching my head for days:
1. The zoomer cannot zoom negative range. For example, if my plot contains Y values from -30 to 200, then when I zoom selecting a rectangle to cover from Y: -30 to 50 then it just zoom to the range 0 to 50!
2. When I hit escape key to get back to original plot, it just automatically alter my plot range to cover X values from 0 to 1000 and Y values from 0 to 1000; despite the fact that my plot has a different scale, let's say X from 0 to 50 and Y from -200 to +5000.
Anyone, please help!
Thanks so much
Bookmarks