unset border; unset tics; unset key; set term gif animate delay 50 set output "trace.gif" set xrange [0:2] set yrange [0:2] do for [ts=0:48] { plot "particles_".ts.".dat" with points pointtype 7 } unset output