# set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "errorbars_1" jsdir "." # set output 'errorbars.1.js' set style data lines set title "error represented by xyerrorbars" 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" t "Power" with xyerrorbars, n(x) t "Theory" w lines