** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: if2.cpp,v 1.6 2000/12/29 15:45:06 kevin Exp $
+** $Id: if2.cpp,v 1.7 2001/01/09 22:31:47 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
{0, 0, 0, 0}
};
-static const char* g_szIdStr = "$Id: if2.cpp,v 1.6 2000/12/29 15:45:06 kevin Exp $";
+static const char* g_szIdStr = "$Id: if2.cpp,v 1.7 2001/01/09 22:31:47 kevin Exp $";
void
if2_usage (const char *program)
\r
plotFile.fileWrite (strOutFile.c_str());\r
\r
-#if HAVE_SGP
- SGPDriver driver ("Column Plot");
- SGP sgp (driver);
- EZPlot ezplot;
- ezplot.ezset ("clear.");
- ezplot.ezset ("xticks major 5.");
- ezplot.ezset ("xlabel Column");
- ezplot.ezset ("title Column Plot");
- ezplot.ezset ("ylabel Pixel");
- ezplot.ezset ("box.");
- 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 (&sgp);
- std::cout << "Press enter to continue" << flush;
- cio_kb_getc();
-#endif
delete plot_xaxis;
}
plotFile.fileWrite (strOutFile.c_str());
-#if HAVE_SGP
- SGPDriver driver ("Row Plot");
- SGP sgp (driver);
- EZPlot ezplot;
- ezplot.ezset ("clear.");
- ezplot.ezset ("xticks major 5.");
- ezplot.ezset ("title Row Plot");
- ezplot.ezset ("xlabel Row");
- ezplot.ezset ("ylabel Pixel");
- ezplot.ezset ("box.");
- ezplot.ezset ("grid.");
- ezplot.addCurve (plot_xaxis, v1Row, im_in1.nx());
- ezplot.addCurve (plot_xaxis, v2Row, im_in2.nx());
- ezplot.plot (&sgp);
- std::cout << "Press enter to continue" << flush;
- cio_kb_getc();
-#endif
delete plot_xaxis;\r
delete v1Row;\r
delete v2Row;\r