From 80961161d29a5c761d68c6c4839587b95c9c4ddd Mon Sep 17 00:00:00 2001 From: Kristian Bendiksen Date: Wed, 10 Aug 2022 08:35:17 +0200 Subject: [PATCH] Well Log Plot: Avoid hard-coded axis (gave incorrect axis labeling). --- .../ProjectDataModel/WellLog/RimWellLogExtractionCurve.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationLibCode/ProjectDataModel/WellLog/RimWellLogExtractionCurve.cpp b/ApplicationLibCode/ProjectDataModel/WellLog/RimWellLogExtractionCurve.cpp index 307999ac3d..8b84b92e7e 100644 --- a/ApplicationLibCode/ProjectDataModel/WellLog/RimWellLogExtractionCurve.cpp +++ b/ApplicationLibCode/ProjectDataModel/WellLog/RimWellLogExtractionCurve.cpp @@ -394,7 +394,7 @@ void RimWellLogExtractionCurve::onLoadDataAndUpdate( bool updateParentPlot ) RiuQwtPlotWidget* viewer = wellLogTrack->viewer(); if ( viewer ) { - viewer->setAxisTitleText( RiuPlotAxis::defaultLeft(), "PL/" + wellLogPlot->depthAxisTitle() ); + viewer->setAxisTitleText( wellLogPlot->depthAxis(), "PL/" + wellLogPlot->depthAxisTitle() ); } }