Qwt setAxisScale() seems to lock up application when given numbers with greater precision than 2e-07
Posted
by Dane Larsen
on Stack Overflow
See other posts from Stack Overflow
or by Dane Larsen
Published on 2010-03-26T03:35:30Z
Indexed on
2010/03/26
3:43 UTC
Read the original article
Hit count: 336
I'm using Qwt for some scientific graphing, and I'm working with some fairly small numbers, the smallest being around 1.0e-22.
I'm trying to call
setAxisScale(xaxis, xmin, xmax) //xmin = 0, xmax = 2.0e-10
But when I do, the application locks up. I haven't found anything in the documentation that refers to a minimum value. Xmin and xmax are both doubles, so that shouldn't be a problem.
Is this a bug in Qwt, or am I doing something wrong?
Thanks in advance
© Stack Overflow or respective owner