added export to gnuplot