X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fdlgprojections.cpp;fp=src%2Fdlgprojections.cpp;h=489d912b99097fb16eaddef99bac7057f52b3dfb;hp=a169de8cd6d22018e66931c760b7ec25cfcad77a;hb=5c6b29ab4885308cc3381af6e0a68f4804956d2e;hpb=c24c1c0721df40e77822ad2b9ec01a944012ff42 diff --git a/src/dlgprojections.cpp b/src/dlgprojections.cpp index a169de8..489d912 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.13 2000/12/18 12:29:41 kevin Exp $ +** $Id: dlgprojections.cpp,v 1.14 2000/12/29 15:45:06 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 @@ -163,13 +163,13 @@ ProjectionsDialog::showView (int iViewNumber) double* detPos = new double [detArray.nDet()]; for (int i = 0; i < detArray.nDet(); i++) detPos[i] = i; - EZPlot ezplot (*m_pSGP); - ezplot.ezset("grid"); - ezplot.ezset("box"); - ezplot.ezset("yticks left"); + EZPlot ezplot; + ezplot.ezset ("grid"); + ezplot.ezset ("box"); + ezplot.ezset ("yticks left"); ezplot.addCurve (detValues, detPos, detArray.nDet()); m_pSGP->setViewport (0.67, 0.1, 1., 1.); - ezplot.plot(); + ezplot.plot (m_pSGP); delete detPos; } }