r163: *** empty log message ***
[ctsim.git] / libctsim / projections.cpp
index 35d8418a070edd3029684246f8e8eea645d1ffff..e5d19a37cceafc09cfafb3bd37df7bbd225052bc 100644 (file)
@@ -8,7 +8,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: projections.cpp,v 1.16 2000/07/28 08:28:08 kevin Exp $
+**  $Id: projections.cpp,v 1.17 2000/07/28 10:51:31 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
@@ -531,6 +531,7 @@ Projections::reconstruct (ImageFile& im, const char* const filterName, double fi
       EZPlot ezplot (sgp);
 
       ezplot.addCurve (plot_xaxis, filter.getFilter(), nVecFilter);
+      ezplot.plot();
       cio_put_str ("Press any key to continue");
       cio_kb_getc ();
     }
@@ -569,7 +570,8 @@ Projections::reconstruct (ImageFile& im, const char* const filterName, double fi
       ezplotProj.ezset  ("box.");
       ezplotProj.ezset  ("grid.");
       ezplotProj.addCurve (detval, plot_xaxis, m_nDet);
-      ezplotProj.ezset  ("clear.");
+      ezplotProj.plot();
+      ezplotProj.ezset  ("clear");
       ezplotProj.ezset  ("xticks major 5.");
       ezplotProj.ezset  ("xlabel ");
       ezplotProj.ezset  ("ylabel ");
@@ -578,7 +580,7 @@ Projections::reconstruct (ImageFile& im, const char* const filterName, double fi
       ezplotProj.ezset ("box");
       ezplotProj.ezset ("grid");
       ezplotProj.addCurve (filteredProj, plot_xaxis, n_filteredProj);
-      ezplotProj.plot ();
+      ezplotProj.plot();
       cout << "Press enter to continue\n";
       cio_kb_getc();
     }