load '../common.gnuplot'

set output "vi.tex"
set xtics 0, 0.5, 2.5
set xrange [0:2.5]
set yrange [0:50]

set key top left Left reverse

set xlabel "Forward Voltage (V)"
set ylabel "Forward Current (mA)" 

plot 'forward.dat' using 2:($1/470 * 1000) linetype 1 linewidth 2 title "Measured Value" with lines, \
'datasheet.dat' using 1:2 linetype 2 linewidth 2 title "Datasheet Value" with lines
