Results 1 to 2 of 2

Thread: Plots alignment

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2019
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Plots alignment

    I need to align plots that are below each other.

    The plots have different values on the y-scales, so the x-scales are shifted relative to each other.

    I have two questions:

    1. Does the method exist that positions the y-scale at a specific pixel from the left edge of the window?

    2. Is it possible to make the y-scale transparent so that the plot is drawn through it from the left edge of the window?

  2. #2
    Join Date
    Aug 2017
    Location
    Munich, Germany
    Posts
    6
    Thanks
    3
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: Plots alignment

    Hi,

    i have the same problem:
    https://www.qtcentre.org/threads/717...e-y-axis-width

    I think i will add a empty QWidget on the side, which i will change the width of it (so that the whole width of the QwtPlot-Object have respective space) like: plotter1->axisWidget(QwtPlot::yRight)->width() - plotter2->axisWidget(QwtPlot::yRight)->width() or so....

Similar Threads

  1. Replies: 3
    Last Post: 8th April 2013, 07:06
  2. Aligning 2 plots
    By jerrychan in forum Qwt
    Replies: 2
    Last Post: 25th February 2013, 08:12
  3. multi plots
    By 21did21 in forum Qwt
    Replies: 7
    Last Post: 24th May 2011, 01:11
  4. Plots and Layouts
    By Ozzy in forum Qwt
    Replies: 5
    Last Post: 17th November 2009, 09:00
  5. Reg multiple plots in Qwt
    By Tavit in forum Qwt
    Replies: 4
    Last Post: 23rd June 2008, 13:43

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.