Results 1 to 2 of 2

Thread: Adding a layer to QwtPlotSpectrogram

  1. #1

    Default Adding a layer to QwtPlotSpectrogram

    Hello.

    Is it possible to display an additional layer of data on a QwtPlotSpectrogram object? For instance, if I plot a two-dimensional function (Z=f(X,Y)) via the value method), can I simultaneously draw a one-dimensional curve (Y=f(X) or, even better, Y[n] values mapped to X[n] values just like in a simple 1D plot) on top of it?

    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: Adding a layer to QwtPlotSpectrogram

    You can attach as many plot items ( QwtPlotSpectrogram and QwtPlotCurve are derived from QwtPlotItem
    ) as you want to a plot. They are stacked according to their z value.

    Uwe

Similar Threads

  1. Socket Programing on Layer 2
    By weaver4 in forum Qt Programming
    Replies: 1
    Last Post: 7th February 2012, 15:25
  2. What is for the foreground 'layer' of QGraphicScene ?
    By tonnot in forum Qt Programming
    Replies: 0
    Last Post: 29th November 2011, 08:49
  3. multi layer application
    By gpuntoni in forum Newbie
    Replies: 2
    Last Post: 11th January 2010, 17:30
  4. UDP IP layer limit
    By mhoover in forum General Programming
    Replies: 1
    Last Post: 1st August 2009, 16:13
  5. Controlling which widget on top layer?
    By JonathanForQT4 in forum Qt Programming
    Replies: 6
    Last Post: 22nd March 2007, 14: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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.