mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
RelPerm Plot: Show SATNUM in plot title, #2189
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user