From 7eefaa90967038ccae52ba03e53e9dfcb54927a1 Mon Sep 17 00:00:00 2001 From: Kristian Bendiksen Date: Mon, 22 Jun 2020 12:51:23 +0200 Subject: [PATCH] #6060 Improve initial look of curves in fracture model plot. --- .../RicNewFractureModelPlotFeature.cpp | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/ApplicationCode/Commands/CompletionCommands/RicNewFractureModelPlotFeature.cpp b/ApplicationCode/Commands/CompletionCommands/RicNewFractureModelPlotFeature.cpp index 393cf748c3..99db806589 100644 --- a/ApplicationCode/Commands/CompletionCommands/RicNewFractureModelPlotFeature.cpp +++ b/ApplicationCode/Commands/CompletionCommands/RicNewFractureModelPlotFeature.cpp @@ -325,13 +325,6 @@ void RicNewFractureModelPlotFeature::createParametersTrack( RimFractureModelPlot RimWellLogTrack* plotTrack = RicNewWellLogPlotFeatureImpl::createWellLogPlotTrack( false, trackTitle, plot ); plotTrack->setFormationWellPath( fractureModel->thicknessDirectionWellPath() ); plotTrack->setColSpan( RimPlot::TWO ); - plotTrack->setVisibleXRange( 0.0, 2.0 ); - plotTrack->setAutoScaleXEnabled( true ); - plotTrack->setTickIntervals( 1.0, 0.2 ); - plotTrack->setXAxisGridVisibility( RimWellLogPlot::AXIS_GRID_MAJOR ); - plotTrack->setShowRegionLabels( true ); - plotTrack->setShowWindow( true ); - plotTrack->setLogarithmicScale( false ); caf::ColorTable colors = RiaColorTables::wellLogPlotPaletteColors(); @@ -367,7 +360,6 @@ void RicNewFractureModelPlotFeature::createParametersTrack( RimFractureModelPlot } plotTrack->addCurve( curve ); - plotTrack->setAutoScaleXEnabled( true ); curve->loadDataAndUpdate( true ); curve->updateConnectedEditors(); @@ -375,6 +367,10 @@ void RicNewFractureModelPlotFeature::createParametersTrack( RimFractureModelPlot colorIndex++; } + plotTrack->setXAxisGridVisibility( RimWellLogPlot::AXIS_GRID_MAJOR ); + plotTrack->setShowRegionLabels( true ); + plotTrack->setLogarithmicScale( false ); + plotTrack->setAutoScaleXEnabled( true ); plotTrack->updateConnectedEditors(); plot->updateConnectedEditors(); @@ -397,14 +393,11 @@ void RicNewFractureModelPlotFeature::createElasticPropertiesTrack( RimFractureMo QString trackName = caf::AppEnum::uiText( propertyType ); RimWellLogTrack* plotTrack = RicNewWellLogPlotFeatureImpl::createWellLogPlotTrack( false, trackName, plot ); plotTrack->setFormationWellPath( fractureModel->thicknessDirectionWellPath() ); - plotTrack->setColSpan( RimPlot::TWO ); - plotTrack->setVisibleXRange( 0.0, 2.0 ); - plotTrack->setAutoScaleXEnabled( true ); - plotTrack->setTickIntervals( 1.0, 0.2 ); plotTrack->setXAxisGridVisibility( RimWellLogPlot::AXIS_GRID_MAJOR ); plotTrack->setLogarithmicScale( false ); plotTrack->setShowRegionLabels( true ); plotTrack->setShowWindow( true ); + plotTrack->setColSpan( RimPlot::TWO ); caf::ColorTable colors = RiaColorTables::wellLogPlotPaletteColors();