Changeset 108 for trunk/test/gnuplot_pipe.cc
- Timestamp:
- Jun 28, 2006, 11:17:12 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/gnuplot_pipe.cc
r107 r108 24 24 #include "Gnuplot.h" 25 25 26 #include <iostream>27 26 #include <vector> 28 27 … … 40 39 41 40 svnstat::Gnuplot gnuplot1; 42 //if (gnuplot1.command("set output 'test1.png'; set term png ; set title 'sine'"))43 //ok = false;44 //if (gnuplot1.command("plot sin(x) title 'sine of x' with lines"))45 //ok = false;41 if (gnuplot1.command("set output 'test1.png'; set term png ; set title 'sine'")) 42 ok = false; 43 if (gnuplot1.command("plot sin(x) title 'sine of x' with lines")) 44 ok = false; 46 45 47 46 svnstat::Gnuplot gnuplot2; 48 //if (gnuplot2.command("set output 'test2.png'; set term png")) 49 //gnuplot2.plot(x); 47 if (gnuplot2.command("set output 'test2.png'; set term png")) 48 ok = false; 49 gnuplot2.plot(x); 50 50 51 51 svnstat::Gnuplot gnuplot3;
Note: See TracChangeset
for help on using the changeset viewer.