X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdlgprojections.cpp;h=c5888c2ad92d7e01cffcdf179a10bd3792f6db0f;hb=4a5567b8df652cc3168bb9d439bc23f973a2b5ea;hp=d340914efbb07424ac7bab15a599c0f02cbf6758;hpb=c8ec665dde5df59539daf63e0a6a44f27550258b;p=ctsim.git diff --git a/src/dlgprojections.cpp b/src/dlgprojections.cpp index d340914..c5888c2 100644 --- a/src/dlgprojections.cpp +++ b/src/dlgprojections.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: dlgprojections.cpp,v 1.17 2001/01/17 06:38:06 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 @@ -107,7 +107,7 @@ ProjectionsDialog::ProjectionsDialog (Scanner& rScanner, Projections& rProj, con SetAutoLayout(TRUE); Layout(); - wxSize sizeDlg (250,250); + wxSize sizeDlg (500,500); if (sizeDlg.x != sizeDlg.y) { sizeDlg.x = max(sizeDlg.x,sizeDlg.y); sizeDlg.y = max(sizeDlg.x,sizeDlg.y); @@ -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; }