working gnuplot wrapper