mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-07 14:43:10 -06:00
#2396 Set better fixed y-axis range for logarithmic scaling
This commit is contained in:
parent
49b5b60352
commit
d743602b81
@ -438,7 +438,14 @@ void RiuRelativePermeabilityPlotPanel::plotCurvesInQwt(RiaEclipseUnitTools::Unit
|
||||
|
||||
if (fixedLeftYAxis)
|
||||
{
|
||||
plot->setAxisScale(QwtPlot::yLeft, 0.0, 1.0);
|
||||
if (logScaleLeftAxis)
|
||||
{
|
||||
plot->setAxisScale(QwtPlot::yLeft, 1.0e-6, 1.0);
|
||||
}
|
||||
else
|
||||
{
|
||||
plot->setAxisScale(QwtPlot::yLeft, 0.0, 1.0);
|
||||
}
|
||||
plot->setAxisAutoScale(QwtPlot::yLeft, false);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user