(#396) Inverted the direction of the depth axis, using top left as origin

This commit is contained in:
Pål Hagen
2015-08-31 12:45:28 +02:00
parent 991f31a44f
commit b3d58ed0a0

View File

@@ -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);
}