Results 1 to 8 of 8

Thread: Vertically aligning multiple plots

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2014
    Posts
    36
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Vertically aligning multiple plots

    I've attached a quick example that shows where I'm struggling. If you look in the MainWindow constructor I've got a
    Qt Code:
    1. #if true
    2. ...
    3. #else
    4. ...
    5. #endif
    To copy to clipboard, switch view to plain text mode 
    sequence. When that preprocessor directive is true, the application looks pretty good, all the plots are lined up, and all the legend items are fully displayed, with no scroll bars showing. If you switch the true to a false then the plots get curves loaded in a slot (which is closer to my applications actual behavior) and in that version the longer strings don't fit as well within their respective legends and some scrollbars are visible.

    I haven't tried inheriting from QwtAbstractLegend yet, I've been trying too many variations on this theme, but I might give it a shot...
    Attached Files Attached Files

Similar Threads

  1. Aligning 2 plots
    By jerrychan in forum Qwt
    Replies: 2
    Last Post: 25th February 2013, 08:12
  2. Multiple Plots in One Window
    By cookie0427 in forum Qwt
    Replies: 3
    Last Post: 4th June 2010, 15:14
  3. Reg multiple plots in Qwt
    By Tavit in forum Qwt
    Replies: 4
    Last Post: 23rd June 2008, 13:43
  4. Lining up multiple plots
    By joel in forum Qwt
    Replies: 2
    Last Post: 20th June 2008, 00:25
  5. Replies: 4
    Last Post: 25th October 2007, 12:23

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.