#6227 Filter out zero values in logarithmic plot.

This commit is contained in:
Kristian Bendiksen
2021-01-18 13:40:44 +01:00
committed by Magne Sjaastad
parent 55034759c5
commit ad07b18781
6 changed files with 41 additions and 1 deletions

View File

@@ -591,7 +591,7 @@ void RimWellLogTrack::fieldChangedByUi( const caf::PdmFieldHandle* changedField,
m_explicitTickIntervals.uiCapability()->setUiHidden( m_isLogarithmicScaleEnabled() );
updateXZoom();
m_plotWidget->scheduleReplot();
loadDataAndUpdate();
}
else if ( changedField == &m_regionAnnotationType || changedField == &m_regionAnnotationDisplay ||
changedField == &m_formationSource || changedField == &m_colorShadingTransparency ||
@@ -2065,6 +2065,14 @@ void RimWellLogTrack::setLogarithmicScale( bool enable )
computeAndSetXRangeMinForLogarithmicScale();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RimWellLogTrack::isLogarithmicScale() const
{
return m_isLogarithmicScaleEnabled;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------