X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctsupport%2Fplotfile.cpp;fp=libctsupport%2Fplotfile.cpp;h=c25dab842c2bd4aeb447861f1e98deeb8a5186e2;hp=86298701b3135122a9bf08db8bc11306cae9ad69;hb=f13a8c004b8f182b42d9e4df2bcd7c7f030bf1ad;hpb=62d01693bcf0ab7ac6d59c01a0bbd32088f26566 diff --git a/libctsupport/plotfile.cpp b/libctsupport/plotfile.cpp index 8629870..c25dab8 100644 --- a/libctsupport/plotfile.cpp +++ b/libctsupport/plotfile.cpp @@ -7,9 +7,7 @@ ** Date Started: Dec 2000 ** ** This is part of the CTSim program -** Copyright (c) 1983-2001 Kevin Rosenberg -** -** $Id$ +** Copyright (c) 1983-2009 Kevin Rosenberg ** ** 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 @@ -83,9 +81,14 @@ PlotFile::addColumn (int iCol, const double* const pdColData) return (false); } - for (int iRec = 0; iRec < m_iNumRecords; iRec++) + for (int iRec = 0; iRec < m_iNumRecords; iRec++) { m_vecCurves[ iRec + (iCol * m_iNumRecords) ] = pdColData [iRec]; - +#if 0 + sys_error (ERR_TRACE, "Storing m_vecCurves[%d] = %f", + iRec + (iCol * m_iNumRecords), + pdColData [iRec]); +#endif + } return true; } @@ -139,6 +142,7 @@ PlotFile::getMinMax (int iStartingCol, double& dMin, double& dMax) const } } + // sys_error (ERR_TRACE, "dMin=%f, dMax=%f", dMin, dMax); return true; }