r187: *** empty log message ***
[ctsim.git] / src / dlgprojections.cpp
index 4f793342a37e3e2ad031cb284247a79242077dda..53b15cf69c35153fbb4d3db9ac69c5fe1c8c4113 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: dlgprojections.cpp,v 1.2 2000/08/31 08:38:58 kevin Exp $
+**  $Id: dlgprojections.cpp,v 1.3 2000/09/02 05:10:39 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
@@ -106,13 +106,13 @@ ProjectionsDialog::ProjectionsDialog (Scanner& rScanner, Projections& rProj, con
     SetAutoLayout(TRUE);
     Layout();
 
-    wxSize sizeDlg (600,600);
+    wxSize sizeDlg (500,500);
     if (sizeDlg.x != sizeDlg.y) {
       sizeDlg.x = max(sizeDlg.x,sizeDlg.y);
       sizeDlg.y = max(sizeDlg.x,sizeDlg.y);
     }
     if (m_iTrace >= Trace::TRACE_PLOT)
-      sizeDlg.x += 200;
+      sizeDlg.x += 250;
 
     m_iClientX = sizeDlg.x;
     m_iClientY = sizeDlg.y;
@@ -148,7 +148,7 @@ ProjectionsDialog::showView (int iViewNumber)
        wxYield();        // update the display
        m_iLastView = iViewNumber;
        if (m_iTrace >= Trace::TRACE_PLOT)
-           m_pSGP->setViewport (0, 0, 0.75, 1);
+           m_pSGP->setViewport (0, 0, 0.66, 1);
        m_rScanner.collectProjections (m_rProjections, m_rPhantom, iViewNumber, 1, true, m_iTrace, m_pSGP);
        if (m_iTrace >= Trace::TRACE_PLOT) {
            const DetectorArray& detArray = m_rProjections.getDetectorArray (iViewNumber);
@@ -157,9 +157,9 @@ ProjectionsDialog::showView (int iViewNumber)
            for (int i = 0; i < detArray.nDet(); i++)
                detPos[i] = i;
            EZPlot ezplot (*m_pSGP);
-           ezplot.ezset("xporigin 0.75");
+           ezplot.ezset("xporigin 0.66");
            ezplot.ezset("yporigin 0.10");
-           ezplot.ezset("xlength  0.25");
+           ezplot.ezset("xlength  0.34");
            ezplot.ezset("ylength  0.90");
            ezplot.ezset("grid");
            ezplot.ezset("box");