r450: Fixed tick-labels
[ctsim.git] / src / dlgprojections.cpp
index dfe49294280eaecdf2701fe921e74af9bc9cd857..c5888c2ad92d7e01cffcdf179a10bd3792f6db0f 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: dlgprojections.cpp,v 1.18 2001/01/17 11:00:18 kevin Exp $
+**  $Id: dlgprojections.cpp,v 1.19 2001/01/27 21:02:20 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -169,7 +169,15 @@ ProjectionsDialog::showView (int iViewNumber)
                        ezplot.ezset ("box");
                        ezplot.ezset ("yticks left");
                        ezplot.addCurve (detValues, detPos, detArray.nDet());
+#if 1
+      ezplot.ezset ("xporigin 0.67");
+      ezplot.ezset ("yporigin 0.10");
+      ezplot.ezset ("xlength  0.33");
+      ezplot.ezset ("ylength  0.90");
+                       m_pSGP->setViewport (0., 0., 1., 1.);
+#else
                        m_pSGP->setViewport (0.67, 0.1, 1., 1.);
+#endif
                        ezplot.plot (m_pSGP);
                        delete detPos;
                }