reset set title "Hallspannung bei konstantem Strom I_s = 101.4 mA" set xlabel "[B in T]" set ylabel "[U_{H} in mV]" set grid xtics ytics set key top left R_v = 25e3 U_0 = 6.35 U_f_0 = 26e-3 R_f_0 = R_v * U_f_0/(U_0 - U_f_0) f(x) = a*x + b fit f(x) 'DatenHallGoldIconst.txt' us ($2):($3) via a,b plot \ 'DatenHallGoldIconst.txt' us ($2):($3) notitle lt 1, \ f(x) title "Ausgleichsgerade" lt 3 set output "hallgoldiconst.eps" set term postscript enhanced eps color; replot