r318: *** empty log message ***
[ctsim.git] / include / ezplot.h
index b2512aab987e21ec0aa43b3c1408b65651bf7ae7..f6dbf77af635c943fa2f2fd18aa5110fb6fe7393 100644 (file)
@@ -7,7 +7,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: ezplot.h,v 1.22 2000/12/27 03:16:02 kevin Exp $
+**  $Id: ezplot.h,v 1.23 2000/12/29 15:45:06 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
@@ -319,7 +319,7 @@ private:
   void make_numfmt(char *fmtstr, int *fldwid, int *nfrac, double min, double max, int nint);
   int axis_scale (double min, double max, int nint, double *minp, double *maxp, int *nintp);
   
-  SGP& rSGP;
+  SGP* m_pSGP;
   POL m_pol;\r
   
   void clearCurves ();
@@ -338,7 +338,7 @@ private:
   { return ygn_min + (y - ygw_min) * m_yWorldScale; }
   
  public:
-   EZPlot (SGP& sgp);
+   EZPlot ();
    ~EZPlot ();
    
    bool ezset (const std::string& command);\r
@@ -350,7 +350,7 @@ private:
    void addCurve (const double* y, int n);
    void addCurve (const float* y, int n);
    
-   void plot ();
+   void plot (SGP* pSGP);
 };     
 
 #endif