reset set title "Hallwiderstand bei konstantem Strom I_s = 101.4 mA" set xlabel "[B in T]" set ylabel "[R in {/Symbol W}]" set yrange [2:2.4] set grid xtics ytics set key top left f(x) = a*x + b fit f(x) 'DatenHallGoldIconst.txt' us ($2):($4)/($1 / 1000) via a,b plot \ 'DatenHallGoldIconst.txt' us ($2):($4)/($1 / 1000) notitle lt 1, \ f(x) title "Ausgleichsgerade" lt 3 set output "hallwiderstandgoldiconst.eps" set term postscript enhanced eps color; replot