mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2919 Summary Plot Title : Always show "Composed Plot" for curve combinations
This commit is contained in:
parent
d34e517968
commit
e355651b99
@ -191,25 +191,29 @@ void RimSummaryPlotNameHelper::extractPlotTitleSubStrings()
|
|||||||
auto wellNames = m_analyzer.wellNames();
|
auto wellNames = m_analyzer.wellNames();
|
||||||
auto wellGroupNames = m_analyzer.wellGroupNames();
|
auto wellGroupNames = m_analyzer.wellGroupNames();
|
||||||
auto regions = m_analyzer.regionNumbers();
|
auto regions = m_analyzer.regionNumbers();
|
||||||
|
auto categories = m_analyzer.categories();
|
||||||
|
|
||||||
if (quantities.size() == 1)
|
if (categories.size() == 1)
|
||||||
{
|
{
|
||||||
m_titleQuantity = *(quantities.begin());
|
if (quantities.size() == 1)
|
||||||
}
|
{
|
||||||
|
m_titleQuantity = *(quantities.begin());
|
||||||
|
}
|
||||||
|
|
||||||
if (wellNames.size() == 1)
|
if (wellNames.size() == 1)
|
||||||
{
|
{
|
||||||
m_titleWellName = *(wellNames.begin());
|
m_titleWellName = *(wellNames.begin());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wellGroupNames.size() == 1)
|
if (wellGroupNames.size() == 1)
|
||||||
{
|
{
|
||||||
m_titleWellGroupName = *(wellGroupNames.begin());
|
m_titleWellGroupName = *(wellGroupNames.begin());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (regions.size() == 1)
|
if (regions.size() == 1)
|
||||||
{
|
{
|
||||||
m_titleRegion = std::to_string(*(regions.begin()));
|
m_titleRegion = std::to_string(*(regions.begin()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_summaryCases.size() == 1 && m_ensembleCases.empty())
|
if (m_summaryCases.size() == 1 && m_ensembleCases.empty())
|
||||||
|
Loading…
Reference in New Issue
Block a user