mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Set initial well plot axis ranges to something "pretty"
This commit is contained in:
parent
5dd726129c
commit
959abe7930
@ -82,6 +82,8 @@ void RiuWellLogTracePlot::setDefaults()
|
|||||||
// Align the canvas with the actual min and max values of the curves
|
// Align the canvas with the actual min and max values of the curves
|
||||||
axisScaleEngine(QwtPlot::xTop)->setAttribute(QwtScaleEngine::Floating, true);
|
axisScaleEngine(QwtPlot::xTop)->setAttribute(QwtScaleEngine::Floating, true);
|
||||||
axisScaleEngine(QwtPlot::yLeft)->setAttribute(QwtScaleEngine::Floating, true);
|
axisScaleEngine(QwtPlot::yLeft)->setAttribute(QwtScaleEngine::Floating, true);
|
||||||
|
setAxisScale(QwtPlot::yLeft, 1000, 0);
|
||||||
|
setAxisScale(QwtPlot::xTop, -10, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user