From 88f0b089b432a3d81b31daa895cf64b6e8f5d992 Mon Sep 17 00:00:00 2001 From: l_maliakal_d Date: Wed, 28 Aug 2013 15:17:36 +0000 Subject: [PATCH] fixed the zooming problems for 2d git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@232 af1100a4-978c-4157-bff7-07162d2ba061 --- slsDetectorGui/src/qDrawPlot.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/slsDetectorGui/src/qDrawPlot.cpp b/slsDetectorGui/src/qDrawPlot.cpp index 854abd57f..c8482dd44 100644 --- a/slsDetectorGui/src/qDrawPlot.cpp +++ b/slsDetectorGui/src/qDrawPlot.cpp @@ -483,8 +483,6 @@ bool qDrawPlot::StartOrStopThread(bool start){ //refixing all the min and max for all scans if (scanArgument == qDefs::None); else{ - //plot2D->GetPlot()->UnZoom(); - plot2D->GetPlot()->SetXMinMax(-0.5,nPixelsX+0.5); plot2D->GetPlot()->SetYMinMax(startPixel,endPixel); plot2D->GetPlot()->SetZoom(-0.5,startPixel,nPixelsX,endPixel-startPixel);