reset set title "Hallspannung bei konstantem Magnetfeld B = 1.0 T" set xlabel "[I_s in mA]" set ylabel "[U_{H} in mV]" set grid xtics ytics set key top left f(x) = a*x + b fit f(x) 'DatenHallGoldBconst.txt' us ($1):($2) via a,b plot \ 'DatenHallGoldBconst.txt' us ($1):($2) notitle lt 1, \ f(x) title "Ausgleichsgerade" lt 3 set output "hallgoldbconst.eps" set term postscript enhanced eps color; replot