# set terminal pngcairo background "#ffffff" enhanced font "arial,10" fontscale 1.0 size 600, 400 # set output 'mgr.9.png' set key inside right top vertical Right noreverse enhanced autotitles box linetype -1 linewidth 1.000 set style data lines set title "UM1-Cell Power" set xlabel "Resistance [Ohm]" set ylabel "Power [W]" n(x)=1.53**2*x/(5.67+x)**2 S = 1 GPFUN_n = "n(x)=1.53**2*x/(5.67+x)**2" plot [0:50] "battery.dat" t "Power" with xyerrorbars, n(x) t "Theory" w lines