Results 1 to 5 of 5

Thread: Waterfall plot without interpolation

  1. #1

    Question Waterfall plot without interpolation

    Hi,

    I have been trying to avoid crying for help since I thought I was going to be able to implement my waterfall like plot using QwtPlotSpectrogram but things are not going as planned!

    I need to plot horizontal bars in which each bar is divided into squares according to the number of variables that I receive externally. What I need is that each square will have a precise color according to a colour map and not according to some kind of interpolation between the points!

    So far I have tried using QwtSpectrogram with no luck and (as suggested in another thread) QwtPlotSpectroCurve with a bit more success but while the y-dimension of my squares are ok (I am using a big PendWidth) I can't manage to change the 'dimension' of the x coordinate for each square.

    Thanks in advance.

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

    Default Re: Waterfall plot without interpolation

    How are the geometries of the bar and of the squares inside the bar related to the x,y axes ?

    Uwe

  3. #3

    Default Re: Waterfall plot without interpolation

    Hi, thanks for replying and sorry for replying so late!

    I am trying to get an horizontal bars that spans the x axis. The y-axis should be the time.
    I've used a Qvector of QwtPoint3D where in each point x is between 0 and the number of variables I have in the data, y is time and, z is the data.

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

    Default Re: Waterfall plot without interpolation

    Guess using QwtPlotSpectrogram with QwtPlotMatrixData should be an easy way to implement this. See the rasterview example.

    Uwe

  5. #5

    Default Re: Waterfall plot without interpolation

    Ok. Will try it.
    Thanks for the help, I'll post again if I get stuck!

    Cheers,

Similar Threads

  1. qwt5.2 to qt6.0 : waterfall
    By janK in forum Qwt
    Replies: 1
    Last Post: 12th July 2013, 07:43
  2. Replies: 23
    Last Post: 9th January 2013, 07:27
  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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.