Results 1 to 4 of 4

Thread: Plot auto-scaling

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2013
    Posts
    7
    Thanks
    3
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Plot auto-scaling

    I am using Qt+Qwt for real time signal plotting. I need to auto-scale the y-axis so that the canvas size covers the data.

    I tried QwtScaleEngine::Attribute::Floating = true to achieve the cumulative min-max. But I want to auto-scale my plot such that the boundaries are not taken from the min-max of data starting from time zero, but starting from another time.

    How can I obtain time based min-max? (i.e. the auto-scale of my plot between times 5-10). I know one way is to check out all data between these times to find the max and min, then scale accordingly.

    Is there a faster method at Qwt library?
    Last edited by ccbaci; 26th July 2013 at 14:04.

Similar Threads

  1. Replies: 6
    Last Post: 14th February 2013, 03:21
  2. improve the auto scaling of axis
    By 21did21 in forum Qwt
    Replies: 7
    Last Post: 7th July 2011, 19:26
  3. Y axis not auto scaling
    By pkj in forum Qwt
    Replies: 0
    Last Post: 12th May 2011, 16:05
  4. QLabel - auto font scaling possible?
    By Byngl in forum Qt Programming
    Replies: 1
    Last Post: 11th October 2007, 16:50

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.