Results 1 to 2 of 2

Thread: qwt5.2 to qt6.0 : waterfall

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2008
    Posts
    51
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Platforms
    Unix/X11 Windows

    Default qwt5.2 to qt6.0 : waterfall

    Hello

    I has this waterfall running with qwt5.2.
    Basically the code (per new line) was (within a derived class from qwtspectrogram):

    WaterfallData = new SpectrogramData (plotData,
    orig,
    width,
    Rastersize,
    Displaysize,
    amp);
    this -> detach ();
    this -> setData (WaterfallData);
    this -> setDisplayMode (QwtPlotSpectrogram::ImageMode,
    TRUE);
    plotgrid -> setAxisScale (QwtPlot::xBottom,
    orig,
    orig + width);
    plotgrid -> enableAxis (QwtPlot::xBottom);
    Marker -> setXValue (marker);
    this -> attach (plotgrid);
    plotgrid -> replot();

    with Spectrogramdata being derived from QwtRasterData.
    Plotdata is a vector (array is you wish) containing the data to be printed.

    Although exactly the same code worked nicely with qwt5.2, it does not work with qwt6.0. !!!!
    No functions are called within the spectrogramdata (just added some print statements for verfication) such as initRaster, interval and value, while
    - with the same parametervalues - when using 5.2 bith the Interval and the value functions from the (derived) Qwtrasterdata
    is called many, many times.

    So, my understanding of either QwtRasterdata, qwtspectrogram or qwtplot (the plotgrid used here) is failing and some semantic
    changes occur between 5.2 and 6.0 within either qwtspectrogram or qwtplot. Note that I verified that the replot for the plotgrid (i.e. a QwtPlot)
    is called regularly.
    Any help would be greatly appreciated

    best
    jan

    '
    Last edited by janK; 11th July 2013 at 19:44. Reason: typo

Similar Threads

  1. Replies: 23
    Last Post: 9th January 2013, 07:27
  2. Replies: 3
    Last Post: 26th November 2012, 07:51
  3. updating waterfall QwtSpectrogram
    By tnorthardt in forum Newbie
    Replies: 2
    Last Post: 2nd November 2012, 14:59
  4. x-axis for waterfall plot
    By janK in forum Qwt
    Replies: 8
    Last Post: 29th July 2009, 15:00
  5. waterfall display
    By jmsbc in forum Qt Programming
    Replies: 7
    Last Post: 15th November 2008, 08:29

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
  •  
Qt is a trademark of The Qt Company.