** 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
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;
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);
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");