$awk -f measure.awk out.tr > 1.data
try this, if fails,then
$awk -f measure.awk out.tr > data
多谢斑竹,按你所说解决了
只是还有个小问题
我用gnuplot执行如下内容时,
gnuplot>plot 'plotdelay.plot'
老是提示:
bad data on line 1
我分别在cygwin和windows下的gnuplot执行都是出现以上错误。plotdelay.plot的源码如下
是不是源码问题还是gnuplot的问题呢?
set term png medium #000000
set output "cbr-delay.png"
set ylabel "End-to-End delay(sec)"
set xlabel "Start transmission time(sec)"
set xrang [0:5]
set xtics 0, 0.5, 5
set yrang [0:0.1]
set ytics 0, 0.01, 0.1
set title "CBR end-to-end delay"
plot "cbr_delay" title "CBR" with linespoints lt -1 pt 8