X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctsim%2Fprojections.cpp;h=e5d19a37cceafc09cfafb3bd37df7bbd225052bc;hp=35d8418a070edd3029684246f8e8eea645d1ffff;hb=c85a5b31119b4e0903144c55441717a7ad1e0b8b;hpb=711cae0ee02e046370fdb4d6c6f440596ff71980 diff --git a/libctsim/projections.cpp b/libctsim/projections.cpp index 35d8418..e5d19a3 100644 --- a/libctsim/projections.cpp +++ b/libctsim/projections.cpp @@ -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(); }