Results 1 to 5 of 5

Thread: QwtPlotCurve->sample() in Qwt 6 & qt 4.7

Threaded View

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

    Default Re: QwtPlotCurve->sample() in Qwt 6 & qt 4.7

    Quote Originally Posted by micc13 View Post
    By the way, do you think that the runtime error happened because I tried to call "sample" with an x co-ordinate which does not correspond to one of the points used to draw the curve?
    Normally the x-coordinates have nothing to do with the size of an array. If you have 20 points indexes from 0-19 are valid. A x coordinate of f.e. 1000.0 used as index into this array will be out of bound.

    Uwe

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

    micc13 (18th November 2010)

Similar Threads

  1. UTF-8 Issues in Sample
    By trevelyan in forum Newbie
    Replies: 6
    Last Post: 19th May 2011, 01:41
  2. Sample for Mutithreading
    By HugoHiasl in forum Qt Programming
    Replies: 19
    Last Post: 1st July 2010, 07:43
  3. Different symbol on a QwtPlotCurve
    By jomarin in forum Qwt
    Replies: 3
    Last Post: 24th March 2010, 10:27
  4. QwtPlotCurve Selection
    By WXNSNW in forum Qwt
    Replies: 1
    Last Post: 5th August 2009, 07:41
  5. set QwtPlotCurve invisible
    By gyre in forum Qwt
    Replies: 2
    Last Post: 19th December 2007, 07:53

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.