Results 1 to 3 of 3

Thread: Weird QwtPlotCurve Behaviour

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2008
    Location
    Aachen
    Posts
    20
    Thanks
    5
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Windows

    Default Weird QwtPlotCurve Behaviour

    Hello readers,

    I'm plotting a frequency response on a QwtPlot setting the data by calling void QwtPlotCurve::setSamples(const QVector< double > & xData, const QVector< double > & yData). I'm just wondering why Qwt always draw a line from the minimum y-value to the first point in my dataset (see attached picture). I printed my QVectors on the console and can definitely confirm that the first point in my dataset is right.

    I'm coding on a Windows 7 64-Bit machine with Qt 4.8.3 and Qwt 6.1.0.

    Cheers,
    Yann
    Attached Images Attached Images

Similar Threads

  1. Weird QwtLegend Behaviour
    By BettaUseYoNikes in forum Qwt
    Replies: 1
    Last Post: 19th July 2011, 07:28
  2. weird behaviour with QItemSelectModel
    By Bebert218 in forum Qt Programming
    Replies: 0
    Last Post: 8th July 2011, 02:02
  3. QDockWidget on 4.6.X , weird behaviour
    By benacler in forum Qt Programming
    Replies: 0
    Last Post: 8th April 2010, 14:44
  4. Weird behaviour with QMdiSubWindows in a QMdiArea?
    By qt_noob in forum Qt Programming
    Replies: 2
    Last Post: 4th April 2009, 16:48
  5. weird repaint() behaviour
    By georgie in forum General Discussion
    Replies: 1
    Last Post: 1st May 2006, 13:27

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.