Results 1 to 3 of 3

Thread: QWT Realtime Plot zoom

  1. #1
    Join Date
    Aug 2010
    Posts
    28
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QWT Realtime Plot zoom

    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

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,312
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QWT Realtime Plot zoom

    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

  3. #3
    Join Date
    Aug 2010
    Posts
    28
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QWT Realtime Plot zoom

    Brilliant!

    Thank you very, very much!

Similar Threads

  1. QWTPlot Zoom: cannot zoom negative value
    By jwieland in forum Qwt
    Replies: 0
    Last Post: 8th January 2010, 16:16
  2. RealTime Images
    By shiranraviv in forum Qt Programming
    Replies: 8
    Last Post: 31st December 2009, 00:41
  3. Replies: 1
    Last Post: 16th November 2009, 05:25
  4. QGLWidget with text - zoom in / zoom out
    By h123 in forum Qt Programming
    Replies: 1
    Last Post: 16th November 2008, 09:56
  5. how can i display curve in realtime?
    By blm in forum Qt Programming
    Replies: 1
    Last Post: 11th September 2008, 20:03

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.