RFT plot improvements

* Make curve selection optional to avoid flickering in depth plots
* Replace undefined with zero for some curves
* Add spacing factor for min and max depth
This commit is contained in:
Magne Sjaastad
2022-10-28 15:37:45 +02:00
committed by GitHub
parent 26dd61a604
commit 0d3347d4d7
13 changed files with 85 additions and 27 deletions

View File

@@ -159,6 +159,12 @@ void RifReaderOpmRft::values( const RifEclipseRftAddress& rftAddress, std::vecto
values->push_back( data[i] );
}
}
if ( resultName == "CONFAC" || resultName == "CONKH" )
{
// Replace undefined values with zero to improve readability of plots
std::replace( values->begin(), values->end(), std::numeric_limits<double>::infinity(), 0.0 );
}
}
else
{