gnuplot wrapper using temporary files