Results 1 to 2 of 2

Thread: qwt log scale Y and linear scale X

  1. #1
    Join Date
    Feb 2010
    Location
    Russia, Omsk
    Posts
    28
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default qwt log scale Y and linear scale X

    Hello. How can I do the next:
    http://screencast.com/t/C47TserwI
    I understand that I need to use QwtLog10ScaleEngine but how?

    Thanks!

  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 log scale Y and linear scale X

    The plot on the screenshot is not logarithmic base 10 - so QwtLog10ScaleEngine won't help.

    You need to use Qwt 6.1 ( from SVN trunk or wait until end of this week ). Here you can add your own type of transformation ( QwtTransform ) - but of course you need to understand the transformation used in the screenshot first. For me it looks more like QwtPowerTransform than QwtLogTransform. ( the playground/scaleengine you find an application that plays with transformations - click on the legend to see the effect )

    Another problem is that the axis values are not unique - each value can be found in the upper and in the lower half. But as you know where to put a curve point there seems to be another hidden coordinate system for the y values behind.

    So these are the steps you need to start with:

    • Identify the real coordinate system and how to map coordinates into the systems on the y axes
    • Find the transformation used for each axis



    Uwe

Similar Threads

  1. qwt Scale
    By David812 in forum Qwt
    Replies: 3
    Last Post: 24th May 2011, 08:43
  2. How to Scale Images
    By divya balachandran in forum Newbie
    Replies: 1
    Last Post: 21st January 2009, 14:46
  3. Circular scale
    By fruzzo in forum Qwt
    Replies: 1
    Last Post: 6th March 2008, 07:20
  4. QSystemTrayIcon does not scale on X11
    By bleucanard in forum Qt Programming
    Replies: 0
    Last Post: 3rd March 2008, 09:35
  5. qwt 5 log scale..
    By halberdier83 in forum Qwt
    Replies: 7
    Last Post: 12th November 2007, 07:21

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.