Results 1 to 3 of 3

Thread: plotmatrix canvas size after rescale

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2013
    Posts
    2
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default plotmatrix canvas size after rescale

    Hi all.

    I'm playing with Qwt and having some trouble with the plotmatrix example. In the example, I added a line in the MainWindow constructor after the calls to setAxisScale, as follows:

    Qt Code:
    1. setAxisScale(QwtPlot::yLeft, 2, -2, 2);
    To copy to clipboard, switch view to plain text mode 

    which calls setScaleAxis on the leftmost plot in the bottom row with limits -2 and 2. When I run the program, the scale comes out right, but the bottom row of plots is taller than the other rows. A screenshot is attached. What I want is for all the plots in the matrix to have the same size. How can I acheive that?

    Thanks.
    Attached Images Attached Images

Similar Threads

  1. Set size of QwtPlot/canvas
    By Hudo in forum Qwt
    Replies: 0
    Last Post: 23rd August 2012, 19:10
  2. How to rescale the QwtPlotZoomer->canvas
    By revellix in forum Qwt
    Replies: 6
    Last Post: 7th October 2011, 13:30
  3. QwtPlot Canvas Size Hint?
    By umituzun84 in forum Qwt
    Replies: 8
    Last Post: 22nd September 2011, 16:21
  4. canvas size
    By gkarthick5 in forum Qwt
    Replies: 3
    Last Post: 20th July 2011, 06:57
  5. Automatic rescale QwtPlotMarker
    By gpsgek in forum Qwt
    Replies: 0
    Last Post: 23rd May 2010, 16:26

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
  •  
Qt is a trademark of The Qt Company.