Results 1 to 9 of 9

Thread: Get any point's Coordinates in a Curve

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2011
    Posts
    5
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Get any point's Coordinates in a Curve

    hum ok, but in an interpolated curve, two points can be on each side of an extremum and obtain the extremum value could not be as easier as calculate a line equation between two point, because the result must not be on the curve, or i'm wrong again?

    Thanks for your explanation

  2. #2
    Join Date
    Oct 2010
    Location
    Berlin, Germany
    Posts
    358
    Thanks
    18
    Thanked 68 Times in 66 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Get any point's Coordinates in a Curve

    Hi schuomi,

    a QwtPlotCurve is not a "real" curve. It is a number of points that are connected by straight lines. So it is not possible that there is an extremum between two points.

    If your curve uses interpolated data, you must access the "real" data storage to obtain the underlying values.

    Felix

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

    Schoumi (7th December 2011)

Similar Threads

  1. Tool tip in point of curve
    By ruzik in forum Qwt
    Replies: 4
    Last Post: 23rd October 2011, 12:23
  2. Replies: 3
    Last Post: 21st June 2011, 19:37
  3. Replies: 2
    Last Post: 28th April 2011, 08:42
  4. Replies: 1
    Last Post: 9th December 2009, 17:14
  5. get the point of a fitted curve
    By giusepped in forum Qwt
    Replies: 1
    Last Post: 2nd January 2009, 04: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.