mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#396) Inverted the direction of the depth axis, using top left as origin
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include "RiuWellLogTracePlot.h"
|
||||
|
||||
#include "qwt_plot_grid.h"
|
||||
#include "qwt_scale_engine.h"
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
@@ -69,4 +70,6 @@ void RiuWellLogTracePlot::setDefaults()
|
||||
enableAxis(QwtPlot::yLeft, true);
|
||||
enableAxis(QwtPlot::xBottom, false);
|
||||
enableAxis(QwtPlot::yRight, false);
|
||||
|
||||
axisScaleEngine(QwtPlot::yLeft)->setAttribute(QwtScaleEngine::Inverted, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user