set terminal png set output "bench-pacman.png" set xlabel "Moves" set ylabel "Distance" set yrange [0:] set pointsize 0.3 set multiplot set size 0.9, 0.4 set origin 0.1, 0.1 plot "pacstats" using 1:2 smooth csplines title "Pacman <-> Nearest ghost" with lines 3 set size 0.9, 0.4 set origin 0.1, 0.5 plot "pacstats" using 1:3 smooth csplines title "Ghost1 <-> Pacman" with lines 1, \ "pacstats" using 1:4 smooth csplines title "Ghost2 <-> Pacman" with lines 5, \ "pacstats" using 1:5 smooth csplines title "Ghost3 <-> Pacman" with lines 12 replot set nomultiplot