X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fdlgprojections.cpp;h=a169de8cd6d22018e66931c760b7ec25cfcad77a;hb=89997e727ff5d4d8828f6fdaee435d809b623ffe;hp=4971292359e4f9134ee8b5f043f527eaaf5ad87a;hpb=f46d464bb065716c6738c23a4d7e7dbedd0b93b9;p=ctsim.git diff --git a/src/dlgprojections.cpp b/src/dlgprojections.cpp index 4971292..a169de8 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.11 2000/12/18 06:32:13 kevin Exp $ +** $Id: dlgprojections.cpp,v 1.13 2000/12/18 12:29:41 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 @@ -147,8 +147,10 @@ ProjectionsDialog::showView (int iViewNumber) if ( iViewNumber < m_rProjections.nView() ) { m_iLastView = iViewNumber; ::wxYield(); // update the display - m_pSGP->eraseWindow(); - Refresh(); + m_pSGP->eraseWindow(); + m_btnPause->Refresh(); + m_btnStep->Refresh(); + m_btnAbort->Refresh(); if (m_iTrace >= Trace::TRACE_PLOT) m_pSGP->setViewport (0, 0, 0.66, 1); @@ -163,7 +165,8 @@ ProjectionsDialog::showView (int iViewNumber) detPos[i] = i; EZPlot ezplot (*m_pSGP); ezplot.ezset("grid"); - ezplot.ezset("box"); + ezplot.ezset("box"); + ezplot.ezset("yticks left"); ezplot.addCurve (detValues, detPos, detArray.nDet()); m_pSGP->setViewport (0.67, 0.1, 1., 1.); ezplot.plot();