Results 1 to 4 of 4

Thread: Scaling QwtSpectogram respectively the Axes

  1. #1
    Join Date
    Jul 2011
    Posts
    26
    Thanks
    11
    Qt products
    Qt4
    Platforms
    Windows

    Arrow Scaling QwtSpectogram respectively the Axes

    Hi Community,

    I want to make a QwtSpectrogram that shows me the pressure_distribution in a gas lubricated bearing. For a gas bearing with a quadratic geometry I get the following picture:



    When I now change the geometry to be rectangular, I get:



    I want the axes to scale themselves automatically to see the difference between the length and width. I changed the picture manually -> this is what I want it to look like:






    Any suggestions ? I simply dont get it.
    Attached Images Attached Images

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

    Default Re: Scaling QwtSpectogram respectively the Axes

    If this is about having a fixed aspect ratio: see QwtPlotRescaler.

    Check the navigation example,

    Uwe

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

    revellix (2nd October 2011)

  4. #3
    Join Date
    Jul 2011
    Posts
    26
    Thanks
    11
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Scaling QwtSpectogram respectively the Axes

    fixed aspect ratio ... hard to be a newbie and not being native english speaker. thanks a lot.

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

    Default Re: Scaling QwtSpectogram respectively the Axes

    It' probably sometimes hard for native English speaker too. It would be a great support if a native speaker would check API and documentation and send me patches.

    Uwe

Similar Threads

  1. QwtSpectogram and scaling the Axis
    By revellix in forum Qwt
    Replies: 1
    Last Post: 25th August 2011, 09:36
  2. Zoom and pan with two y-axes
    By mjfj in forum Qwt
    Replies: 1
    Last Post: 19th October 2010, 10:39
  3. Plot Axes
    By mcarter in forum Qwt
    Replies: 0
    Last Post: 4th December 2009, 23:47
  4. Fixed size axes
    By wim12 in forum Qwt
    Replies: 4
    Last Post: 15th May 2009, 12:37
  5. Scaling Painter without scaling the coordinate sytem
    By maverick_pol in forum Qt Programming
    Replies: 4
    Last Post: 7th January 2008, 21:30

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.