RelPerm Plot: Show SATNUM in plot title, #2189

This commit is contained in:
sigurdp
2017-11-30 11:27:38 +01:00
parent e3a794d898
commit 636b68cf52
5 changed files with 56 additions and 48 deletions

View File

@@ -132,7 +132,7 @@ void RiuPvtPlotPanel::setPlotDefaults(QwtPlot* plot)
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RiuPvtPlotPanel::setPlotData(const std::vector<RigFlowDiagSolverInterface::PvtCurve>& fvfCurveArr, const std::vector<RigFlowDiagSolverInterface::PvtCurve>& viscosityCurveArr, double pressure, QString cellReferenceText)
void RiuPvtPlotPanel::setPlotData(const std::vector<RigFlowDiagSolverInterface::PvtCurve>& fvfCurveArr, const std::vector<RigFlowDiagSolverInterface::PvtCurve>& viscosityCurveArr, double pressure)
{
//cvf::Trace::show("RiuPvtPlotPanel::setPlotData()");
@@ -140,8 +140,6 @@ void RiuPvtPlotPanel::setPlotData(const std::vector<RigFlowDiagSolverInterface::
m_allViscosityCurvesArr = viscosityCurveArr;
m_pressure = pressure;
m_cellReferenceText = cellReferenceText;
plotUiSelectedCurves();
}
@@ -152,7 +150,7 @@ void RiuPvtPlotPanel::clearPlot()
{
//cvf::Trace::show("RiuPvtPlotPanel::clearPlot()");
if (m_allFvfCurvesArr.empty() && m_allViscosityCurvesArr.empty() && m_cellReferenceText.isEmpty())
if (m_allFvfCurvesArr.empty() && m_allViscosityCurvesArr.empty())
{
return;
}
@@ -161,8 +159,6 @@ void RiuPvtPlotPanel::clearPlot()
m_allViscosityCurvesArr.clear();
m_pressure = HUGE_VAL;
m_cellReferenceText.clear();
plotUiSelectedCurves();
}