Results 1 to 3 of 3

Thread: How to highlight an area under a curve from two points ?

  1. #1
    Join Date
    Sep 2011
    Location
    Brazil
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default How to highlight an area under a curve from two points ?

    Hi there!

    I would like to know what is the easier way to highlight an area under a curve defined between two points.

    Diogo!

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

    Default Re: How to highlight an area under a curve from two points ?

    Simply add a second curve for the 2 points with a brush. Clear its QwtPlotItem::Legend flag if you don't want to have a second entry on the legend.

    Uwe

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

    Diogo (4th September 2011)

  4. #3
    Join Date
    Sep 2011
    Location
    Brazil
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to highlight an area under a curve from two points ?

    Ok Uwe!
    Thanks a lot for your suggestion.

    Diogo

Similar Threads

  1. Replies: 3
    Last Post: 23rd February 2011, 08:29
  2. drawing smooth curve to a set of points - without qwt
    By szisziszilvi in forum Qt Programming
    Replies: 0
    Last Post: 24th January 2011, 09:51
  3. Replies: 4
    Last Post: 6th October 2010, 14:29
  4. Deleting points from a curve dynamically
    By maneesh18187 in forum Qwt
    Replies: 2
    Last Post: 9th February 2010, 19:08
  5. Get the points of a fitted curve
    By giusepped in forum Qwt
    Replies: 4
    Last Post: 25th December 2008, 08:42

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.