Qwt setAxisScale() locks up application when given numbers less than 2e-07 and greater than 0
Posted
by Dane Larsen
on Stack Overflow
See other posts from Stack Overflow
or by Dane Larsen
Published on 2010-03-26T16:20:45Z
Indexed on
2010/03/26
16:23 UTC
Read the original article
Hit count: 352
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