Results 1 to 2 of 2

Thread: qwt custom log axis

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

    Default qwt custom log axis

    how to make a custom log scale 20*log10(x) ?

  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: qwt custom log axis

    I'm not sure what a 20*log10 scale is, but if it is only a special tick distribution for a log10 scale, you can use QwtPlot::setAxisScale or more explicit: QwtPlot::setAxisScaleDiv.

    Otherwise you have to implement your own type of QwtScaleEngine.
    This sounds more difficult as it is, when you use the implementation of QwtLog10ScaleEngine as starting point.

    Uwe

Similar Threads

  1. Detecting changes in the qwt plot axis
    By mrcolin in forum Qwt
    Replies: 2
    Last Post: 27th January 2009, 12:53
  2. custom axis (setAxisScaleDraw) questions
    By MrGarbage in forum Qwt
    Replies: 7
    Last Post: 11th January 2008, 10:08
  3. Qwt and custom axis
    By jiveaxe in forum Qwt
    Replies: 3
    Last Post: 14th November 2007, 15:50
  4. Qwt - extra axis
    By steg90 in forum Qwt
    Replies: 2
    Last Post: 10th July 2007, 14:41
  5. use interesting QWT Library with QT3.X
    By raphaelf in forum Qwt
    Replies: 2
    Last Post: 23rd January 2006, 11:24

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.