set terminal postscript portrait enhanced color solid 10 set output set xlabel "Frequency [MHz]" set key bottom left set grid mxtics mytics xtics ytics set logscale x set autoscale x set mxtics 5 set multiplot set size 0.5,0.5 set origin 0,0.5 set ytics 10 set mytics 2 set title "DIY Coil Frontend Gain" set ylabel "Gain [dB]" plot "sim/feld.data" using ($1/1e6):2 title "Max. capacity" with lines, \ "sim/feld.data" using ($1/1e6):3 title "Min. capacity" with lines set origin 0.5, 0.5 set xrange [0.25:64] set xtics 4 set nomxtics set yrange [50:] set ytics 1 set mytics 4 replot set origin 0,0 set title "Phase" set yrange [-180:180] set ylabel "Phase [deg]" set ytics 30 set mytics 3 plot "sim/feld.data" using ($1/1e6):4 title "Max. capacity" with lines, \ "sim/feld.data" using ($1/1e6):5 title "Min. capacity" with lines set origin 0.5,0 set title "Delay" set xrange [5:10] unset logscale x set ylabel "Delay [ns] set yrange [0:7] set xtics 1 set mxtics 2 set ytics 1 set mytics 2 plot "sim/feld.data" using ($1/1e6):(-1e9*$4/360/$1) title "Max. capacity" with lines, \ "sim/feld.data" using ($1/1e6):(-1e9*$5/360/$1) title "Min. capacity" with lines