reset set title "Linsenabstand 10,35 cm" set xlabel "[1 + 1/\gamma]" set ylabel "[x in cm]" set grid xtics ytics set key top left f(x) = m * x + a g(x) = c * x + d fit f(x) 'DatenAbbe3.txt' us ($2):($1) via m,a fit g(x) 'DatenAbbe3.txt' us ($3):($1) via c,d plot \ 'DatenAbbe3.txt' us ($2):($1) title "normales System" lt 1, \ f(x) title "Ausgleichsgerade g1 (normal)" lt 1, \ 'DatenAbbe3.txt' us ($3):($1) title "gedrehtes System" lt 3, \ g(x) title "Ausgleichsgerade g2 (gedreht)" lt 3 set output "abbe3.eps" set term postscript enhanced eps color; replot