Generate gnuplot files for statistics