X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctsupport%2Fplotfile.cpp;fp=libctsupport%2Fplotfile.cpp;h=a99bf1d80cf356cc3af8be2f05ed363838b2554e;hp=81682b9187488e1e41dd5bc91ce323a7e7c023bd;hb=b361677a2f7d5b443641faec70b057f2a84dc77e;hpb=af74e42547cbc35de784e30ebdbba746ae0fc9e5 diff --git a/libctsupport/plotfile.cpp b/libctsupport/plotfile.cpp index 81682b9..a99bf1d 100644 --- a/libctsupport/plotfile.cpp +++ b/libctsupport/plotfile.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: plotfile.cpp,v 1.12 2001/01/28 19:10:18 kevin Exp $ +** $Id: plotfile.cpp,v 1.13 2001/03/10 23:14:16 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 @@ -64,17 +64,17 @@ PlotFile::initHeaders () } void -PlotFile::setCurveSize (int nCols, int nRecords) +PlotFile::setCurveSize (int nCols, int nRecords, bool bScatterPlot) { m_iNumColumns = nCols; m_iNumRecords = nRecords; + m_bScatterPlot = bScatterPlot; m_vecCurves.clear(); m_vecCurves.reserve (m_iNumColumns * m_iNumRecords); } // Storage format // a Column's records are stored sequentially. It begins at iCol * m_iNumRecords - bool PlotFile::addColumn (int iCol, const double* const pdColData) {