r318: *** empty log message ***
[ctsim.git] / tools / if2.cpp
index 571e8d63294ca1ad6947e0b7fae136139c647030..0f36b595f02beb734cbeba00b6ef0fcbb8d9b4eb 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: if2.cpp,v 1.5 2000/12/23 18:12:35 kevin Exp $
+**  $Id: if2.cpp,v 1.6 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
 **
 **  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
@@ -46,7 +46,7 @@ static struct option my_options[] =
   {0, 0, 0, 0}
 };
 
   {0, 0, 0, 0}
 };
 
-static const char* g_szIdStr = "$Id: if2.cpp,v 1.5 2000/12/23 18:12:35 kevin Exp $";
+static const char* g_szIdStr = "$Id: if2.cpp,v 1.6 2000/12/29 15:45:06 kevin Exp $";
 
 void 
 if2_usage (const char *program)
 
 void 
 if2_usage (const char *program)
@@ -254,7 +254,7 @@ if2_main (int argc, char *const argv[])
 #if HAVE_SGP
     SGPDriver driver ("Column Plot");
     SGP sgp (driver);
 #if HAVE_SGP
     SGPDriver driver ("Column Plot");
     SGP sgp (driver);
-    EZPlot ezplot (sgp);
+    EZPlot ezplot;
     ezplot.ezset ("clear.");
     ezplot.ezset ("xticks major 5.");
     ezplot.ezset ("xlabel Column");
     ezplot.ezset ("clear.");
     ezplot.ezset ("xticks major 5.");
     ezplot.ezset ("xlabel Column");
@@ -264,7 +264,7 @@ if2_main (int argc, char *const argv[])
     ezplot.ezset ("grid.");
     ezplot.addCurve (plot_xaxis, v1[opt_columnPlot], im_in1.ny());
     ezplot.addCurve (plot_xaxis, v2[opt_columnPlot], im_in2.ny());
     ezplot.ezset ("grid.");
     ezplot.addCurve (plot_xaxis, v1[opt_columnPlot], im_in1.ny());
     ezplot.addCurve (plot_xaxis, v2[opt_columnPlot], im_in2.ny());
-    ezplot.plot();
+    ezplot.plot (&sgp);
     std::cout << "Press enter to continue" << flush;
     cio_kb_getc();
 #endif
     std::cout << "Press enter to continue" << flush;
     cio_kb_getc();
 #endif
@@ -309,7 +309,7 @@ if2_main (int argc, char *const argv[])
 #if HAVE_SGP
     SGPDriver driver ("Row Plot");
     SGP sgp (driver);
 #if HAVE_SGP
     SGPDriver driver ("Row Plot");
     SGP sgp (driver);
-    EZPlot ezplot (sgp);
+    EZPlot ezplot;
     ezplot.ezset ("clear.");
     ezplot.ezset ("xticks major 5.");
     ezplot.ezset ("title Row Plot");
     ezplot.ezset ("clear.");
     ezplot.ezset ("xticks major 5.");
     ezplot.ezset ("title Row Plot");
@@ -319,7 +319,7 @@ if2_main (int argc, char *const argv[])
     ezplot.ezset ("grid.");
     ezplot.addCurve (plot_xaxis, v1Row, im_in1.nx());
     ezplot.addCurve (plot_xaxis, v2Row, im_in2.nx());
     ezplot.ezset ("grid.");
     ezplot.addCurve (plot_xaxis, v1Row, im_in1.nx());
     ezplot.addCurve (plot_xaxis, v2Row, im_in2.nx());
-    ezplot.plot();
+    ezplot.plot (&sgp);
     std::cout << "Press enter to continue" << flush;
     cio_kb_getc();
 #endif
     std::cout << "Press enter to continue" << flush;
     cio_kb_getc();
 #endif