improving gnuplot script
improving gnuplot script