generated from kenryuS/report-temp
40 lines
1.5 KiB
Gnuplot
40 lines
1.5 KiB
Gnuplot
set output "exp1.tex"
|
|
set encoding utf8
|
|
set terminal epslatex monochrome font "Arial,11" fontscale 1.0 size 12cm,8cm
|
|
set style data lines
|
|
#set dashtype 1 ". "
|
|
#set dashtype 2 (2,4,2,6)
|
|
#set dashtype 3 ".._"
|
|
set style line 1
|
|
set style line 2 dashtype 2
|
|
set style line 3 dashtype 1
|
|
set style line 91 linetype 1 linewidth 1 linecolor rgb "black"
|
|
set style line 92 linetype 1 linewidth 0.5 linecolor rgb "gray20"
|
|
set style line 93 linetype 1 linewidth 0.5 linecolor rgb "gray60"
|
|
set style textbox 2 opaque fc "light-blue"
|
|
|
|
set border ls 91
|
|
set grid xtics ls 92, ls 93
|
|
set grid ytics ls 92, ls 93
|
|
set xtics 0, 3, 10
|
|
set xrange [0:10]
|
|
set yrange [0:10]
|
|
|
|
set key top left Left reverse
|
|
|
|
set xlabel "Supply Voltage (V)"
|
|
set ylabel "Current (mA)" offset 1.0
|
|
set errorbars 3 front linewidth 2
|
|
|
|
plot \
|
|
x linetype 1 title "", \
|
|
x / 2.2 linetype 2 title "", \
|
|
x / 3.3 linetype 3 title "", \
|
|
'exp1-theory.dat' using 1:($2 * 1000):($3 * 1000):($4 * 1000) linetype 1 linewidth 2 title "Theory (1.0k Ohm)" with yerrorbars, \
|
|
'exp1-result.dat' using 1:($2 * 1000) title "Result (1.0k Ohm)" with points pt "x", \
|
|
'exp1-theory.dat' using 5:($6 * 1000):($7 * 1000):($8 * 1000) linetype 2 linewidth 4 title "Theory (2.2k Ohm)" with yerrorbars, \
|
|
'exp1-result.dat' using 3:($4 * 1000) title "Result (2.2k Ohm)" with points, \
|
|
'exp1-theory.dat' using 9:($10 * 1000):($11 * 1000):($12 * 1000) linetype 3 linewidth 4 title "Theory (3.3k Ohm)" with yerrorbars, \
|
|
'exp1-result.dat' using 5:($6 * 1000) title "Result (3.3k Ohm)" with points
|
|
|