1set terminal latex  size 5.0,3.0
2set output "eg6.tex"
3set format y "$%g$"
4set format x '$%5.1f\mu$'
5set title "This is a title"
6set xlabel "This is the $x$ axis"
7set ylabel 'This is\\a longer\\version\\ of\\the $y$\\ axis' offset -1
8set label "Data" at -5,-5 right
9set arrow from -5,-5 to -3.3,-6.7
10set key top left
11set xtic -10,5,10
12plot [-10:10] [-10:10] "eg3.dat" title "Data File"  with linespoints lt 1 pt 7,\
13   3*exp(-x*x)+1  title '$3e^{-x^{2}}+1$' with lines lt 4
14