Results 1 to 2 of 2

Thread: fixed axis scales

  1. #1

    Default fixed axis scales


    I'm trying to make the y-axis not resize when the plot resizes.
    In other words, when the plot resizes, i'd like the y-axis to show a larger range if the size increases and to show a smaller range of it decreases.

    right now, the y-axis range stays constant when resizing, which makes my graphs grow/shrink.

  2. #2
    Join Date
    Feb 2006
    Munich, Germany
    Thanked 862 Times in 811 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    MacOS X Unix/X11 Windows

    Default Re: fixed axis scales

    If you download a Qwt 5.2 snapshot from SVN you find a class QwtPlotRescaler. The unfinished navigation example shows how to use it.

    AFAIR QwtPlotRescaler is compatible with Qwt 5.1. If not copy/adjust the code.


Similar Threads

  1. Replies: 1
    Last Post: 2nd December 2008, 23:22

Tags for this Thread


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.