# set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 600, 400 # set output 'electron.1.png' set dummy Vbe, y set format x "%g" set format y "%g" set format x2 "%g" set format y2 "%g" set format z "%g" set format cb "%g" set format r "%g" set grid nopolar set grid xtics nomxtics ytics nomytics noztics nomztics nortics nomrtics \ nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics set grid layerdefault lt 0 linecolor 0 linewidth 0.500, lt 0 linecolor 0 linewidth 0.500 set key at 0.200000, 0.00450000 right top vertical Right noreverse enhanced autotitle box lt black linewidth 1.000 dashtype solid set samples 160, 160 set style data lines set title "Mutual Characteristic of a Transistor" set xlabel "Vbe (base emmitter voltage)" set xrange [ 0.00000 : 0.750000 ] noreverse nowriteback set x2range [ * : * ] noreverse writeback set ylabel "Ic (collector current)" set yrange [ 0.00000 : 0.00500000 ] noreverse nowriteback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault Ie(Vbe)=Ies*exp(Vbe/kT_q) Ic(Vbe)=alpha*Ie(Vbe)+Ico NO_ANIMATION = 1 Ies = 4e-14 kT_q = 0.025 alpha = 0.99 Ico = 1e-09 plot Ic(Vbe)