set key right bottom

#set size .9,.85

set fit errorvariables
set xlabel "$\\frac{U}{\\mathrm{V}}$"
set ylabel "$\\frac{U_S}{\\mathrm{mV}}$"

set decimalsign ','
set samples 5000

#set xtic 11
#set ytics 1

set logscale y 10

plot 'GM.dat' using 1:2 lt 1 notitle

set terminal latex
set out "grafGM.tex"
replot
set out
set term win

unset logscale

#set print "fitGM.txt"
#print "   f(x) = Ax^2 + Bx + C"
#print A, " +/- ", A_err, ",   rel. chyba ", abs(A_err/A*100), " %"
#print B, " +/- ", B_err, ",   rel. chyba ", abs(B_err/B*100), " %"
#print C, " +/- ", C_err, ",   rel. chyba ", abs(C_err/C*100), " %"
set print