use gnuplot for plotting