Results 1 to 4 of 4

Thread: QwtMagnifier zooming

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2010
    Posts
    12
    Qt products
    Qt3 Qt4 PyQt3 PyQt4
    Platforms
    Unix/X11 Windows
    Thanks
    1

    Question QwtMagnifier zooming

    I am using QwtMagnifier for zooming in and out my Histogram.
    Actually my plot caonsists of multiple histograms on same canvas.
    I want to fix the width of QwtPlotHistogram Bars and I want the magnification to be done only horizontally.
    That is I juat want to stretch my Plot horizontally.

    How can it be done with QwtMagnifier ?
    Or Is there any other way to do the same ?

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

    Default Re: QwtMagnifier zooming

    Quote Originally Posted by mohini View Post
    I want the magnification to be done only horizontally.
    Qt Code:
    1. magnifier->setAxisEnabled( QwtPlot::yLeft, false);
    2. magnifier->setAxisEnabled( QwtPlot::yRight, false);
    To copy to clipboard, switch view to plain text mode 
    Uwe

Similar Threads

  1. Zooming with rubberband
    By zgulser in forum Qt Programming
    Replies: 5
    Last Post: 24th February 2010, 13:00
  2. zooming only x
    By mastupristi in forum Qwt
    Replies: 1
    Last Post: 7th May 2009, 09:23
  3. Zooming
    By td in forum Newbie
    Replies: 1
    Last Post: 26th November 2008, 14:43
  4. Zooming..
    By chethana in forum Qt Programming
    Replies: 7
    Last Post: 10th October 2007, 09:17
  5. Zooming in but not out
    By nitriles in forum Qt Programming
    Replies: 1
    Last Post: 5th October 2007, 09:54

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.