mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
RFT Curves: Add more segment curves
- add CONGRAT - add pressure track - add CONFAC - fix some plot layout issues - Fix bug for first segment MD location - Add default scale factor 1e-3 for gas curves - Avoid inf values in some curves, seen in PRESSURE and CONFAC - Use assignment in statements instead of std::get
This commit is contained in:
@@ -110,9 +110,9 @@ bool RiuWellLogPlot::showYAxis( int row, int column ) const
|
||||
}
|
||||
|
||||
auto index = static_cast<size_t>( std::max( row, column ) );
|
||||
if ( index < depthTrackPlot()->plots().size() )
|
||||
if ( index < depthTrackPlot()->visiblePlots().size() )
|
||||
{
|
||||
auto track = dynamic_cast<RimWellLogTrack*>( depthTrackPlot()->plotByIndex( index ) );
|
||||
auto track = dynamic_cast<RimWellLogTrack*>( depthTrackPlot()->visiblePlots()[index] );
|
||||
if ( track )
|
||||
{
|
||||
return track->isPropertyAxisEnabled();
|
||||
|
||||
Reference in New Issue
Block a user