better gnuplot Function
graphic lifetime with plot ADDED