# set terminal svg size 600,400 dynamic enhanced font 'arial,10' mousing name "cerf_2" butt dashlength 1.0 # set output 'cerf.2.svg' set format y "%.2f" set key noinvert samplen 0.5 spacing 1 width 0 height 0 set style arrow 1 heads back nofilled linewidth 1.000 dashtype solid set samples 200, 200 set style data lines set mxtics set mytics set xtics border out scale 1,0.5 nomirror norotate autojustify set title "Faddeeva/Voigt Function" set xrange [ -5.00000 : 5.00000 ] noreverse nowriteback set x2range [ * : * ] noreverse writeback set yrange [ -1.00000 : 1.00000 ] 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 NO_ANIMATION = 1 save_encoding = "utf8" fwhm1 = 3.60287466889735 fwhm2 = 3.63018986329991 fwhm3 = 3.60113567720316 fwhm4 = 3.6 plot real( faddeeva(x) ) lw 2, imag( faddeeva(x) ) lw 2, real(cdawson(x)) lt -1 lw 0.5 title "Dawson's Integral"