set key graph 0.4,0.95 set label "1B" at graph 0.02,0.95 set xlabel "pieces" set ylabel "time (seconds)" set terminal fig big thickness 1 fontsize 18 set pointsize 1 plot "trial1B.plt" index 0 t "version-1" with linespoints pointtype 1 replot "trial1B.plt" index 1 t "version-2" with linespoints pointtype 5 set output "trial1B.fig" replot