Now gnuplot script exports to file

This commit is contained in:
Philippe Tillet
2014-10-30 13:20:59 -04:00
parent 71b4bde3ec
commit 32fa1e2b7c

View File

@@ -1,11 +1,7 @@
set logscale x set logscale x
set term wxt 1 set terminal pdf
set output 'saxpy.pdf'
plot "out.dat" i 0 using 1:2 with lines title 'Naive', \ plot "out.dat" i 0 using 1:2 with lines title 'Naive', \
"out.dat" i 0 using 1:3 with lines title 'Model', \ "out.dat" i 0 using 1:3 with lines title 'Model', \
"out.dat" i 0 using 1:4 with lines title 'Optimal' "out.dat" i 0 using 1:4 with lines title 'Optimal'
set term wxt 2
plot "out.dat" i 1 using 1:2 with lines title 'Naive', \
"out.dat" i 1 using 1:3 with lines title 'Model', \
"out.dat" i 1 using 1:4 with lines title 'Optimal'