mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Improve ensemble cross plot statistics
* Support cross plot in plot templates * Fix source stepping for cross plots * Show cross plot data in "Show Plot Data" * Use bin size and realization count when computing cross plot statistics
This commit is contained in:
@@ -262,10 +262,10 @@ std::vector<RimEnsembleCurveSet*> RimEnsembleCurveSetCollection::curveSetsForSou
|
||||
{
|
||||
// Add corresponding history/summary curve with or without H
|
||||
|
||||
std::string vectorName = m_curveSetForSourceStepping->summaryAddress().vectorName();
|
||||
std::string vectorName = m_curveSetForSourceStepping->summaryAddressY().vectorName();
|
||||
|
||||
std::string candidateName;
|
||||
if ( m_curveSetForSourceStepping->summaryAddress().isHistoryVector() )
|
||||
if ( m_curveSetForSourceStepping->summaryAddressY().isHistoryVector() )
|
||||
{
|
||||
candidateName = vectorName.substr( 0, vectorName.size() - 1 );
|
||||
}
|
||||
@@ -276,7 +276,7 @@ std::vector<RimEnsembleCurveSet*> RimEnsembleCurveSetCollection::curveSetsForSou
|
||||
|
||||
for ( const auto& c : curveSets() )
|
||||
{
|
||||
if ( c->summaryAddress().vectorName() == candidateName )
|
||||
if ( c->summaryAddressY().vectorName() == candidateName )
|
||||
{
|
||||
steppingCurveSets.push_back( c );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user