Results 1 to 10 of 10

Thread: Logarithmic scale problem

Threaded View

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

    Default Re: Logarithmic scale problem

    To set a logarithmic scale for 1-100
    Qt Code:
    1. plot->setAxisScaleEngine(QwtPlot::yLeft, new QwtLogScaleEngine(10));
    2. plot->setAxisScale(QwtPlot::yLeft,1, 100);
    3. plot->replot();
    To copy to clipboard, switch view to plain text mode 

    Uwe

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

    dimmes (20th November 2014)

Similar Threads

  1. Replies: 2
    Last Post: 21st July 2013, 20:35
  2. QWT::Knob with the logarithmic scale
    By hack006 in forum Qwt
    Replies: 1
    Last Post: 2nd April 2011, 16:57
  3. logarithmic scales
    By sergio486 in forum Qwt
    Replies: 2
    Last Post: 22nd December 2010, 17:05
  4. logarithmic scale
    By Times in forum Qwt
    Replies: 2
    Last Post: 1st July 2008, 15:41
  5. Replies: 2
    Last Post: 14th March 2008, 12:38

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.