set terminal postscript landscape enhanced color solid "Helvetica" 12 set xlabel "S" set ylabel "Sqrt(N_B)" set title "Variation of N_B with S" set grid set data style linespoints set linestyle 1 lt 1 lw 2 pt 1 set linestyle 2 lt 3 lw 2 pt 4 set linestyle 3 lt 7 lw 2 pt 8 set key right bottom spacing 1.5 set output 'NS.eps' plot 'data.txt' using ($1) : (sqrt($3)) title "sqrt(N_B)" ls 1 set xlabel "N_B" set ylabel "Time (T_{S}) (sec)" set y2label "Time (T_{D} and T_{A}) (sec)" set ytics nomirror set y2tics nomirror set xtics nomirror set nox2tics set title "Variation of T with N_B" set grid set data style linespoints set linestyle 1 lt 1 lw 2 pt 1 set linestyle 2 lt 3 lw 2 pt 4 set linestyle 3 lt 7 lw 2 pt 8 set key right bottom spacing 1.5 set output 'NT.eps' plot 'data.txt' using ($3) : ($2) title "T_{S}" ls 1, 'data.txt' using ($3) : (($5)/1000) axes x1y2 title "T_{D}" ls 2, 'data.txt' using ($3) : (($6)/1000) axes x1y2 title "T_{A}" ls 3