1set terminal latex 2set output "eg3.tex" 3set format xy "$%g$" 4set title "This is another plot" 5set xlabel "$x$ axis" 6set ylabel "$y$ axis" 7set key at 15,-10 8plot x with lines, "eg3.dat" with linespoints 9