set terminal postscript portrait enhanced color solid 10 set output set xlabel "Frequency [MHz]" set key bottom left set ylabel "Gain [dB]" set title "BFR91A Frontend Gain" 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 plot "sim/frontend.data" using ($1/1e6):2 title "Worst" with lines, \ "sim/frontend.data" using ($1/1e6):3 title "Best" with lines set origin 0.5,0.5 set yrange [36:] set xrange [0.8:20] set ytics 1 set mytics 4 set xtics 4 set nomxtics replot set ylabel "Phase [deg]" set origin 0,0 set size 0.5,0.5 set xrange [0.01:10000] set xtics 10 set ytics 20 set ytics 30 set mytics 3 set title "BFR91A Frontend Phase" set yrange [-180:180] plot "sim/frontend.data" using ($1/1e6):4 title "Worst" with lines, \ "sim/frontend.data" using ($1/1e6):5 title "Best" with lines set ylabel "Delay [ns]" unset logscale x set xrange [5:10] set xtics 1 set origin 0.5,0 set yrange [0:10] set ytics 1 set mxtics 2 set mytics 5 plot "sim/frontend.data" using ($1/1e6):(-1e9*$4/360/$1) title "Worst" with lines, \ "sim/frontend.data" using ($1/1e6):(-1e9*$5/360/$1) title "Best" with lines