Results 1 to 3 of 3

Thread: scrolling spectrogram

  1. #1
    Join Date
    Nov 2009
    Location
    San Antonio, TX
    Posts
    69
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt Jambi
    Platforms
    Unix/X11 Windows

    Default scrolling spectrogram

    I am new to the Qt community and found that the Qwt is a nice addition for data plotting. I was looking for some advice and thought I would post a message . . . sorry if this is the wrong place for this query.

    I am currently working on a project to create a scrolling spectrogram and was wondering if anyone has done anything similar to help me get started.

    Basically, I have a data source that is sending me data periodically and I want to "plot" the data in the current viewport. There are some additional requirements for panning and zooming (and maybe also for a good scrolling time axis), but for now I want to get the scrolling part working.

    Any help would be greatly appreciated.

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

    Default Re: scrolling spectrogram

    Check the spectrogram example. Its plot widget is initialized for zooming and panning.

    Uwe

  3. #3
    Join Date
    Nov 2009
    Location
    San Antonio, TX
    Posts
    69
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt Jambi
    Platforms
    Unix/X11 Windows

    Default Re: scrolling spectrogram

    I have been looking over the spectrogram example. I like the concept of the panning and zooming. Do you know if there is a way to pan/zoom the data using the axes?

    Do you know the best way to scroll the spectrogram with new data? I was thinking of a timer based on the time axis resolution and then shift the viewed data. It is just supplying a new set of data for the spectrogram with a replot?

Similar Threads

  1. Spectrogram Plot Hints
    By shargath in forum Qwt
    Replies: 2
    Last Post: 25th February 2009, 11:11
  2. Replies: 5
    Last Post: 1st January 2009, 03:30
  3. Custom scrolling of QGraphicsView
    By hb in forum Qt Programming
    Replies: 0
    Last Post: 12th August 2008, 10:10
  4. QScrollbar show scratching on scrolling on any widget
    By santosh.kumar in forum Qt Programming
    Replies: 0
    Last Post: 21st April 2008, 05:58
  5. QGraphicsView scrolling problem with 4.3.0
    By hb in forum Qt Programming
    Replies: 8
    Last Post: 30th August 2007, 22:18

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.