Changeset 119 for trunk/test/gnuplot_pipe.cc
- Timestamp:
- Jul 3, 2006, 9:45:58 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/gnuplot_pipe.cc
r108 r119 39 39 40 40 svnstat::Gnuplot gnuplot1; 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; 41 gnuplot1.command("set output 'test1.png'; set term png ; set title 'sine'"); 42 gnuplot1.command("plot sin(x) title 'sine of x' with lines"); 45 43 46 44 svnstat::Gnuplot gnuplot2; 47 if (gnuplot2.command("set output 'test2.png'; set term png")) 48 ok = false; 45 gnuplot2.command("set output 'test2.png'; set term png"); 49 46 gnuplot2.plot(x); 50 47 51 48 svnstat::Gnuplot gnuplot3; 52 if (gnuplot3.command("set output 'test3.png'; set term png")) 53 ok=false; 49 gnuplot3.command("set output 'test3.png'; set term png"); 54 50 gnuplot3.linetitle("parabola"); 55 if (gnuplot3.plot(x,y)) 56 ok=false; 57 if (gnuplot3.command("set output 'test4.png'; set title 'composite'")) 58 ok=false; 59 gnuplot3.linestyle("linespoints"); 60 gnuplot3.linetitle(""); 61 if (gnuplot3.replot(x)) 62 ok=false; 51 gnuplot3.plot(x,y); 52 gnuplot3.command("set output 'test4.png'"); 53 gnuplot3.command("set title 'ddddd'"); 54 //gnuplot3.linestyle("linespoints"); 55 gnuplot3.linetitle("bajs"); 56 gnuplot3.plot(x); 63 57 64 58 /*
Note: See TracChangeset
for help on using the changeset viewer.