mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-22 01:27:59 +02:00
optimized the plot a bit
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@180 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
@ -276,7 +276,11 @@ SlsQt1DPlot::SlsQt1DPlot(QWidget *parent):QwtPlot(parent){
|
||||
SetupZoom();
|
||||
|
||||
// Assign a title
|
||||
#ifndef IAN
|
||||
insertLegend(new QwtLegend(), QwtPlot::BottomLegend);
|
||||
#else
|
||||
insertLegend(new QwtLegend(), QwtPlot::RightLegend);
|
||||
#endif
|
||||
|
||||
axisScaleEngine(QwtPlot::yLeft)->setAttribute(QwtScaleEngine::Floating);
|
||||
axisScaleEngine(QwtPlot::xBottom)->setAttribute(QwtScaleEngine::Floating);
|
||||
|
Reference in New Issue
Block a user