show style data
set style data lines
set ytics 5
#set xlabel "Distance(feet)"
set ylabel "dB"
set grid
#set logscale x
set xtics 200
#set term png
set title "SNR"
#set output "snr.png"
#plot 'snrs_train.txt' using ($1*0.0029/64) with lines lt 3 title    "Blue :train   "
#plot 'snrs_showtime.txt' using ($1*0.0029/64) with lines lt 2 title "Green:showtime",\
#     'snrs_train.txt' using ($1*0.0029/64) with lines lt 3 title    "Blue :train   "
plot 'snrs_train.txt' using (int($1/4096)*0.0029*64) with lines lt 2 title "Blue :train   ",\
     'snrs_train.txt' using ((int($1)%4096)*0.0029*64) with lines lt 3 title    "Green:showtime"

