Working gnuplot script