mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 14:03:18 -06:00
#7967 Ensemble Well Log: make PERMX/PERMZ plots logarithmic by default
This commit is contained in:
parent
3ce0edb046
commit
e9b070c57f
@ -819,12 +819,26 @@ void RimEnsembleWellLogCurveSet::updateEnsembleCurves( const std::vector<RimWell
|
||||
}
|
||||
|
||||
updateCurveColors();
|
||||
setLogScaleFromSelectedResult( wellLogChannelName );
|
||||
}
|
||||
}
|
||||
|
||||
plotTrack->updateLegend();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEnsembleWellLogCurveSet::setLogScaleFromSelectedResult( const QString resVar )
|
||||
{
|
||||
if ( resVar.toUpper().contains( "PERM" ) )
|
||||
{
|
||||
RimWellLogTrack* track = nullptr;
|
||||
this->firstAncestorOrThisOfType( track );
|
||||
if ( track ) track->setLogarithmicScale( true );
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -152,6 +152,7 @@ private:
|
||||
void connectEnsembleCurveSetFilterSignals();
|
||||
void onFilterSourceChanged( const caf::SignalEmitter* emitter );
|
||||
void onEnsembleCurvesAppearanceChanged( const caf::SignalEmitter* emitter );
|
||||
void setLogScaleFromSelectedResult( const QString resVar );
|
||||
|
||||
private:
|
||||
caf::PdmField<bool> m_showCurves;
|
||||
|
Loading…
Reference in New Issue
Block a user