mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 10:22:15 -05:00
Support ensemble cross plot curves
* Remove use of RifEnsembleStatisticsReader * Add RimSummaryAddressSelector and RimEnsembleCrossPlotStatisticsCase * Remove RifEnsembleStatisticsReader * Add support for cross plot x-axis selection * Support source stepping on ensemble cross plot curves * Add isXAxisSummaryVector
This commit is contained in:
1 parent
55687c4e3e
commit
fb288f602d
21 files changed
+1219
-352
No files matched your search
@@ -270,8 +270,17 @@ QString RimSummaryPlotAxisFormatter::autoAxisTitle() const
|
||||
|
||||
for ( const RiaSummaryCurveDefinition& curveDef : m_curveDefinitions )
|
||||
{
|
||||
std::string unitText;
|
||||
RifEclipseSummaryAddress sumAddress = curveDef.summaryAddressY();
|
||||
RifEclipseSummaryAddress sumAddress;
|
||||
if ( m_axisProperties->plotAxis().isHorizontal() )
|
||||
{
|
||||
sumAddress = curveDef.summaryAddressX();
|
||||
}
|
||||
else
|
||||
{
|
||||
sumAddress = curveDef.summaryAddressY();
|
||||
}
|
||||
|
||||
std::string unitText;
|
||||
if ( curveDef.ensemble() )
|
||||
{
|
||||
std::vector<RimSummaryCase*> sumCases = curveDef.ensemble()->allSummaryCases();
|
||||
@@ -285,8 +294,7 @@ QString RimSummaryPlotAxisFormatter::autoAxisTitle() const
|
||||
RimSummaryCase* sumCase = curveDef.summaryCaseY();
|
||||
if ( m_axisProperties->plotAxis().isHorizontal() )
|
||||
{
|
||||
sumCase = curveDef.summaryCaseX();
|
||||
sumAddress = curveDef.summaryAddressX();
|
||||
sumCase = curveDef.summaryCaseX();
|
||||
}
|
||||
|
||||
if ( sumCase && sumCase->summaryReader() )
|
||||
|
||||
Reference in new issue
Block a user