Set initial well plot axis ranges to something "pretty"

This commit is contained in:
Jacob Støren 2015-09-03 11:55:24 +02:00
parent 5dd726129c
commit 959abe7930

View File

@ -82,6 +82,8 @@ void RiuWellLogTracePlot::setDefaults()
// Align the canvas with the actual min and max values of the curves
axisScaleEngine(QwtPlot::xTop)->setAttribute(QwtScaleEngine::Floating, true);
axisScaleEngine(QwtPlot::yLeft)->setAttribute(QwtScaleEngine::Floating, true);
setAxisScale(QwtPlot::yLeft, 1000, 0);
setAxisScale(QwtPlot::xTop, -10, 100);
}
//--------------------------------------------------------------------------------------------------