#!/usr/local/bin/gnuplot -persist # 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 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 [ -10.0000 : 10.0000 ] 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" plot real( faddeeva(x) ) lw 2, imag( faddeeva(x) ) lw 2, real(cdawson(x)) lt -1 lw 0.5 title "Dawson's Integral"