** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: plotfile.h,v 1.1 2000/12/19 21:37:10 kevin Exp $
+** $Id: plotfile.h,v 1.3 2000/12/20 20:08:48 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
void setTitle (const std::string& title)
{ m_strTitle = title; }
+ \r
+ void setTitle (const char* const title)\r
+ { m_strTitle = title; }\r
void setXLabel (const std::string& label)
{ m_strXLabel = label; }
+ \r
+ void setXLabel (const char* const label)\r
+ { m_strXLabel = label; }\r
void setYLabel (const std::string& label)
{ m_strYLabel = label; }
+ void setYLabel (const char* const label)\r
+ { m_strYLabel = label; }\r
+\r
void setCurveSize (int iNCurves, int iNRecords);
void addDescription (const char* const pszDesc)
bool addColumn (int iCol, const float* const pdColumn);\r
\r
+ void getColumn (int iCol, double *pdColumnData) const;\r
+\r
const std::string& getTitle () const
{ return m_strTitle; }
const std::string& getYLabel () const
{ return m_strXLabel; }
- const std::string& getData () const
+ const std::string& getDate () const
{ return m_strDate; }
int getNumColumns () const
int getNumRecords () const
{ return m_iNumRecords; }
+\r
+ bool getMinMax (int startingCol, double& min, double& max) const;\r
+\r
+ bool statistics (int startingCol, double& min, double& max, double& mean, double& mode, double& median, double &stddev) const;\r
unsigned int getNumDescriptions (void) const
{ return m_vecStrDescriptions.size(); }