Results 1 to 3 of 3

Thread: Lining up 3 curves of a QwtPlot

  1. #1
    Join Date
    Feb 2011
    Location
    Hungary
    Posts
    4
    Thanks
    2
    Qt products
    Platforms
    Windows

    Question Lining up 3 curves of a QwtPlot

    Hi all!

    I'm new to Qwt (considering using it), but I have a problem with it:

    I'd like to display 3 curves (they have different scales). The time axis is common. AFAIK QwtPlot only supports 2 different y-axis. Putting 2 or 3 QwtPlots above each other is not perfect, because the scaling on different y axis take up different space (see linked image).

    So is there a solution to show 3 curves with common x-axis?


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

    Default Re: Lining up 3 curves of a QwtPlot

    You can line up plots using QwtAbstractScaleDraw::setMinimumExtent() - read the archive for details, this has been asked many, many times. In Qwt 6 you find the ( unfinished ) plotmatrix example, that might help.

    Uwe

  3. The following user says thank you to Uwe for this useful post:

    pihentagy (18th February 2011)

  4. #3
    Join Date
    Feb 2011
    Location
    Hungary
    Posts
    4
    Thanks
    2
    Qt products
    Platforms
    Windows

    Default Re: Lining up 3 curves of a QwtPlot

    Thanks for the pointer, found your answer here: http://www.qtcentre.org/threads/3065...257#post143257

Similar Threads

  1. Replies: 1
    Last Post: 8th September 2010, 07:53
  2. Replies: 10
    Last Post: 18th September 2008, 15:14
  3. Replies: 1
    Last Post: 11th September 2008, 09:07
  4. Lining up multiple plots
    By joel in forum Qwt
    Replies: 2
    Last Post: 20th June 2008, 00:25
  5. Replies: 5
    Last Post: 18th March 2008, 16:11

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.