Commit 833b65fe authored by Stéphane Albert's avatar Stéphane Albert

ENH: Fixed histogram scale.

parent 0450d354
......@@ -370,6 +370,7 @@ HistogramWidget
<< "[" << xMin << "; " << xMax << "]"
<< "x [" << yMin << "; " << yMax << "]";
#if 0
m_UI->histogramPlot
->axisScaleDiv( QwtPlot::xBottom )
->setInterval( xMin, xMax );
......@@ -377,6 +378,10 @@ HistogramWidget
m_UI->histogramPlot
->axisScaleDiv( QwtPlot::yLeft )
->setInterval( yMin, yMax );
#else
m_UI->histogramPlot->setAxisScale( QwtPlot::xBottom, xMin, xMax );
m_UI->histogramPlot->setAxisScale( QwtPlot::yLeft, yMin, yMax );
#endif
}
/*******************************************************************************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment