reset set title "Hallwiderstand bei konstantem Magnetfeld B = 1.0 T" set xlabel "[I_s in A]" set ylabel "[U_r in V]" set grid xtics ytics set key top left f(x) = a*x + b fit f(x) 'DatenHallGoldBconst.txt' us ($1 / 1000):($3) via a,b plot \ 'DatenHallGoldBconst.txt' us ($1 / 1000):($3) notitle lt 1, \ f(x) title "Ausgleichsgerade" lt 3 set output "hallwiderstandgoldbconst.eps" set term postscript enhanced eps color; replot