projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r450: Fixed tick-labels
[ctsim.git]
/
src
/
dlgprojections.cpp
diff --git
a/src/dlgprojections.cpp
b/src/dlgprojections.cpp
index d340914efbb07424ac7bab15a599c0f02cbf6758..c5888c2ad92d7e01cffcdf179a10bd3792f6db0f 100644
(file)
--- 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
**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: dlgprojections.cpp,v 1.1
7 2001/01/17 06:38:06
kevin Exp $
+** $Id: dlgprojections.cpp,v 1.1
9 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
**
** 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();
SetAutoLayout(TRUE);
Layout();
- wxSize sizeDlg (
250,25
0);
+ wxSize sizeDlg (
500,50
0);
if (sizeDlg.x != sizeDlg.y) {
sizeDlg.x = max(sizeDlg.x,sizeDlg.y);
sizeDlg.y = max(sizeDlg.x,sizeDlg.y);
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());
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.);
m_pSGP->setViewport (0.67, 0.1, 1., 1.);
+#endif
ezplot.plot (m_pSGP);
delete detPos;
}
ezplot.plot (m_pSGP);
delete detPos;
}