# set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "errorbars_8" jsdir "." # set output 'errorbars.8.js' unset errorbars set style data lines set title "xerrorbars with no crossbar" set xlabel "Resistance [Ohm]" set xrange [ * : * ] noreverse writeback set x2range [ * : * ] noreverse writeback set ylabel "Power [W]" set yrange [ * : * ] noreverse writeback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback n(x)=1.53**2*x/(5.67+x)**2 ## Last datafile plotted: "battery.dat" plot [0:50] "battery.dat" u 1:2:3 t "Power" w xerr, n(x) t "Theory" w lines