Small bug fix for lo and hi margins values.

This commit is contained in:
Robert Carlsen
2009-06-22 05:29:50 +00:00
parent fcdd894c52
commit 52821ee647

View File

@@ -54,8 +54,8 @@ void LogTimeScaleEngine::autoScale(int maxNumSteps,
qSwap(x1, x2);
QwtDoubleInterval interval(
x1 / pow(10.0, lowerMargin()),
x2 * pow(10.0, upperMargin())
x1 / pow(10.0, loMargin()),
x2 * pow(10.0, hiMargin())
);
double logRef = 1.0;