mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2396 Set better fixed y-axis range for logarithmic scaling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user