Results 1 to 3 of 3

Thread: is It possible that a plot has both log and linear scales?

  1. #1
    Join Date
    Jul 2013
    Posts
    72
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default is It possible that a plot has both log and linear scales?

    My application demands that if a curve is set log style , and it displays in a log scale way ,while another is set linear which should be displayed in linear scale.
    Does anybody have good suggestion?

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

    Default Re: is It possible that a plot has both log and linear scales?

    Assuming you are talking about y axes: put a logarithmic scale to the left and a linear to the right. Then:

    Qt Code:
    1. curve1->setYAxis( QwtPlot::yLeft );
    2. curve2->setYAxis( QwtPlot::yRight );
    To copy to clipboard, switch view to plain text mode 
    Uwe

  3. #3
    Join Date
    Jul 2013
    Posts
    72
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: is It possible that a plot has both log and linear scales?

    Uwe ,Thank you, that's a great help.

Similar Threads

  1. Linear gradient problem
    By K4ELO in forum Newbie
    Replies: 1
    Last Post: 10th April 2013, 09:57
  2. Linear analog display
    By CoderMan in forum Qt Programming
    Replies: 3
    Last Post: 27th February 2012, 21:30
  3. Curve brush with linear gradient?
    By liversedge in forum Qwt
    Replies: 2
    Last Post: 11th September 2011, 18:03
  4. Non-typical and Non-linear wizard
    By kornicameister in forum Qt Programming
    Replies: 4
    Last Post: 30th December 2010, 16:26
  5. multiple page linear interface
    By ahkv9 in forum Qt Programming
    Replies: 3
    Last Post: 17th April 2007, 20:44

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.