Results 1 to 9 of 9

Thread: CPU usage due to curves with many points

Threaded View

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

    Default Re: CPU usage due to curves with many points

    Quote Originally Posted by fcona View Post
    Now, since the CPU usage is apparently due to continue replots, could the use of QwtPlotDirectPainter::drawSeries make any difference?
    Sure - you draw the new points only on top without repainting the previous parts.
    You could also have a look at a development branch( >= 6.2 ). For certain situations the new QwtPlotCurve::FilterPointsAggressive flag can make the difference.

    Uwe

  2. The following user says thank you to Uwe for this useful post:

    fcona (9th May 2018)

Similar Threads

  1. Replies: 3
    Last Post: 16th December 2015, 19:39
  2. Replies: 2
    Last Post: 2nd May 2012, 09:49
  3. qwt several curves at a plot
    By freude3 in forum Qwt
    Replies: 4
    Last Post: 4th January 2011, 07:45
  4. Multiple curves on top of each other
    By jmsbc in forum Qwt
    Replies: 2
    Last Post: 15th July 2009, 19:46
  5. Replies: 2
    Last Post: 12th September 2008, 08:43

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.