Results 1 to 17 of 17

Thread: Check perfomance of QwtPlotCurve with setPaintAttribute for displaying large data

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #14
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,325
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanked 879 Times in 827 Posts

    Default Re: Check perfomance of QwtPlotCurve with setPaintAttribute for displaying large data

    Quote Originally Posted by Vasya View Post
    I think in QWT spectrogram with big data could be useful also.
    The impact of the data size depends on the type of resampling being used - for example with nearest neighbor ( = default ) the performance does not depend on the data size.
    But the opposite is true: when the resolution of the data is smaller, than the one on screen rendering will be faster as in situations, where you have to calculate all pixels.
    Quote Originally Posted by Vasya View Post
    Probably that is not so necessary but depending on plotted data each curve may have up to 5000 points (usually it is 2000-5000 points but may vary). In this case QwtPlotCurve::FilterPointsAggressive may be useful I think (or at least it should not consume much time to execute if number of points is small, less than 1000, I'm going to test it).
    The algo calculates 4 points for each pixel: enter, min, max, leave. So when having 5K points and 1K pixels you will have almost no effect in reducing the number of lines to be painted.
    But the algo is fast and should not hurt that much.

    HTH,
    Uwe
    Last edited by Uwe; 1st April 2020 at 14:09.

Similar Threads

  1. Replies: 3
    Last Post: 15th February 2017, 09:57
  2. Storing and displaying "large" amount of data
    By FreddyKay in forum Qt Programming
    Replies: 4
    Last Post: 27th November 2014, 19:31
  3. Replies: 2
    Last Post: 3rd January 2012, 15:00
  4. Replies: 4
    Last Post: 18th August 2009, 19:53
  5. QScrollArea not displaying large number of images
    By lpkincaid in forum Qt Programming
    Replies: 1
    Last Post: 31st May 2009, 09:58

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.