set term postscript color enhanced set output 'kicker_pulse.ps' cc =0 aa = -2.84411 bb = 3.3351 dd = 1.27428 ee = 0.0970149 ff = -3.92405 set xlabel 'Time [ns] set ylabel 'Amplitude [normalized]' set grid set ytics -0.4,.1 set xtics -100, 50 set yrange [-0.5:] set xrange [-100:800] #set xrange [-100:250] f(x) = bb*tanh(aa*(x/100-dd))+bb*tanh(-ff*(x/100+ee)) normalization = f(50.) plot f(x)/normalization lw 2, 'pulse.dat' u ($1*100):($2/normalization) ps 1.5 pt 7 w lp t 'data'