Results 1 to 2 of 2

Thread: Qwt Scale Label Precision

  1. #1
    Join Date
    May 2010
    Qt products
    Unix/X11 Windows

    Default Qwt Scale Label Precision


    Is there a way to set the precision of the qwt plot scales?. I am using setAxisScaleDiv to hard code a scale(fixed grid and scales), however I have be unable to find a way to force a fixed format of the tick labels. This results in a graph that bounces all over the place due to dynamically changing scales. Any help would be appreciated.


  2. #2
    Join Date
    Feb 2006
    Munich, Germany
    Thanked 860 Times in 809 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    MacOS X Unix/X11 Windows

    Default Re: Qwt Scale Label Precision

    By overloading QwtScaleDraw::label() you have complete control over all tick labels.


Similar Threads

  1. The precision range of double
    By nikhilqt in forum Qt Programming
    Replies: 14
    Last Post: 8th July 2009, 15:08
  2. QString.toFloat() precision.
    By hickscorp in forum Qt Programming
    Replies: 2
    Last Post: 7th December 2007, 07:12
  3. QThread msleep precision
    By Lele in forum Qt Programming
    Replies: 3
    Last Post: 8th November 2007, 23:40
  4. double precision or what?
    By mickey in forum General Programming
    Replies: 7
    Last Post: 20th February 2007, 20:01
  5. precision problem - Help pls
    By munna in forum General Programming
    Replies: 7
    Last Post: 26th May 2006, 04:00


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.