Well Log Plot: Avoid hard-coded axis (gave incorrect axis labeling).

This commit is contained in:
Kristian Bendiksen
2022-08-15 15:09:27 +02:00
parent b134419544
commit 80961161d2
@@ -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() );
}
}