r315: Coverted POL to C++ class
[ctsim.git] / libctsupport / plotfile.cpp
index b05705aed89f03356a3ea8740cd20ddb487a0d7a..706fce1d352bcd367e22e257965c7ea4c3ebbb2b 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: plotfile.cpp,v 1.5 2000/12/23 18:12:35 kevin Exp $
+**  $Id: plotfile.cpp,v 1.6 2000/12/27 03:16:02 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
@@ -242,9 +242,7 @@ PlotFile::headerWrite (std::iostream& fs)
   }
   
   fs.seekp (0);
-  fs << "<plotfile>\n";\r
-  fs << "<ncolumns>" << m_iNumColumns << "</ncolumns>\n";\r
-  fs << "<nrecords>" << m_iNumRecords << "</nrecords>\n";\r
+  fs << "<plotfile " << m_iNumColumns << " " << m_iNumRecords << " >\n";\r
   
   int iNEzset = m_vecStrEzsetCommands.size();\r
   if (iNEzset > 0) {\r