(#396) Setting the curve's axes explicitly (x bottom is the default x axis in Qwt)

This commit is contained in:
Pål Hagen 2015-09-01 15:38:26 +02:00
parent 51a251f7ef
commit caddfd01ed

View File

@ -41,6 +41,8 @@ RimWellLogPlotCurve::RimWellLogPlotCurve()
CAF_PDM_InitFieldNoDefault(&m_userName, "CurveDescription", "Name", "", "", "");
m_plotCurve = new QwtPlotCurve;
m_plotCurve->setXAxis(QwtPlot::xTop);
m_plotCurve->setYAxis(QwtPlot::yLeft);
}
//--------------------------------------------------------------------------------------------------