mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 00:00:02 +02:00
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
This commit is contained in:
parent
3c30ef71cf
commit
88f0b089b4
@ -483,8 +483,6 @@ bool qDrawPlot::StartOrStopThread(bool start){
|
|||||||
//refixing all the min and max for all scans
|
//refixing all the min and max for all scans
|
||||||
if (scanArgument == qDefs::None);
|
if (scanArgument == qDefs::None);
|
||||||
else{
|
else{
|
||||||
//plot2D->GetPlot()->UnZoom();
|
|
||||||
|
|
||||||
plot2D->GetPlot()->SetXMinMax(-0.5,nPixelsX+0.5);
|
plot2D->GetPlot()->SetXMinMax(-0.5,nPixelsX+0.5);
|
||||||
plot2D->GetPlot()->SetYMinMax(startPixel,endPixel);
|
plot2D->GetPlot()->SetYMinMax(startPixel,endPixel);
|
||||||
plot2D->GetPlot()->SetZoom(-0.5,startPixel,nPixelsX,endPixel-startPixel);
|
plot2D->GetPlot()->SetZoom(-0.5,startPixel,nPixelsX,endPixel-startPixel);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user