Results 1 to 2 of 2

Thread: Axis direction change

  1. #1
    Join Date
    Dec 2009
    Posts
    1
    Qt products
    Qt4 Qt Jambi
    Platforms
    Unix/X11 Windows

    Default Axis direction change

    Hello! Suppose, I have a Qwt Plot. And suppose, I want the origin (the point, relative to which all drawing calculations are actually implemented) to be, say, at the top right corner of the plot. Is there any way to do this?
    I'll try to include a picture, displaying what I want to implement.
    p.s. don't mind, that lengths of distances are not equal on the picture. In real life, they must be.

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

    Default Re: Axis direction change

    Qt Code:
    1. plot->axisScaleEngine(...)->setAttribute(QwtScaleEngine::Inverted, true);
    To copy to clipboard, switch view to plain text mode 

    Uwe

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

    Eos Pengwern (11th December 2009)

Similar Threads

  1. Replies: 2
    Last Post: 30th June 2009, 17:08
  2. Replies: 1
    Last Post: 19th May 2009, 11:14
  3. Replies: 2
    Last Post: 30th December 2008, 21:35
  4. Change cursor & status during Drag & Drop
    By ronlongo in forum Qt Programming
    Replies: 0
    Last Post: 1st December 2008, 16:56
  5. statusBar() message color change
    By mclark in forum Qt Programming
    Replies: 2
    Last Post: 7th August 2007, 23:20

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.