Further work of gnuplot integration