Results 1 to 2 of 2

Thread: Axis with a probability scale

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

    Default Axis with a probability scale

    Hello !
    I am working on an application using QwtPlot displaying technical drawings with a probability scale.

    There is a way to implemente a probability scale ?

    Thanks in advance,

    Lister

  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: Axis with a probability scale

    Start with QwtScaleWidget with a range of 0-1. Depending on the orientation of the scale you can align a second widget with the stuff you want to display on the widget. Another option is to resize the scale widget becond the size it needs and to paint into the empty space.

    With scaleWidget()->scaleDraw()->map() you can calculate the pixel positions that correspond to scale values.

    HTH,
    Uwe

Similar Threads

  1. Qwt Scale Draw
    By maxpayne in forum Qwt
    Replies: 2
    Last Post: 6th June 2012, 13:01
  2. Axis won't stay at new scale setting
    By Maxicatten in forum Qwt
    Replies: 5
    Last Post: 9th April 2009, 04:03
  3. 4 axis auto scale..
    By Vincenzo in forum Qwt
    Replies: 0
    Last Post: 22nd March 2009, 01:12
  4. Replies: 13
    Last Post: 12th June 2008, 13:23
  5. Relocating axis labels
    By malcom2073 in forum Qwt
    Replies: 0
    Last Post: 9th May 2008, 13:01

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.