tfrc.gp
来自「一款用来进行网络模拟的软件」· GP 代码 · 共 47 行
GP
47 行
resetset terminal Xset xrange [4:36]set xtics 8,4,32set yrange [0.5:1.3]set ytics 0.5,0.2,1.3set size 1,0.5set key left bottomset xlabel "Total Number of Flows"set ylabel "Normalized TFRC Xput"set terminal postscript monochrome dashed 18 set output "tfrcLow.ps"plot "data.0" using 1:2 title "RED (30 ms)" with lp, "data.1" using 1:2 title "RED-PD (30 ms)" with lp #plot "data.0" title "" with points 1 2, "data.0" title "" with points 1 2, "data.0" title "" with points 1 2, "data.0" title "" with points 1 2, "data.0" title "" with points 1 2, "data.1" title "" with points 2 3, "data.1" title "" with points 2 3, "data.1" title "" with points 2 3, "data.1" title "" with points 2 3, "data.1" title "" with points 2 3, "disabledData" title "RED (30 ms)" with linespoints 1, "enabledData" title "RED-PD (30 ms)" with linespoints 2set output "tfrcHigh.ps"plot "data.0" using 1:3 title "RED (120 ms)" with lp, "data.1" using 1:3 title "RED-PD (120 ms)" with lp#plot "data.0" using 1:3 title "" with points 1 2, "data.0" using 1:3 title "" with points 1 2, "data.0" using 1:3 title "" with points 1 2, "data.0" using 1:3 title "" with points 1 2, "data.0" using 1:3 title "" with points 1 2, "data.1" using 1:3 title "" with points 2 3, "data.1" using 1:3 title "" with points 2 3, "data.1" using 1:3 title "" with points 2 3, "data.1" using 1:3 title "" with points 2 3, "data.1" using 1:3 title "" with points 2 3, "disabledData" using 1:3 title "RED (120 ms)" with linespoints 1, "enabledData" using 1:3 title "RED-PD (120 ms)" with linespoints 2set yrange [0:8]set ytics 0,2,8set ylabel "Drop Rate (%)"set key left topset size 1,0.5set terminal postscript monochrome dashed 18set output "tfrc-dropRate.ps"plot "dropRate0-1" title "RED" with linespoints, "dropRate1-1" title "RED-PD" with linespointsresetset terminal Xset xrange [4:36]set xtics 8,4,32set xlabel "Total Number of Flows"set ylabel "Throughput (Mbps)"set terminal postscript monochrome dashed 18set output "tfrc.ps"plot "data.0" using 1:5 title "TCP (30ms, RED)" with linespoints, "data.0" using 1:4 title "TFRC (30ms, RED)"with linespoints, "data.1" using 1:5 title "TCP (30ms, RED-PD)" with linespoints, "data.1" using 1:4 title "TFRC (30ms, RED-PD)" with linespoints, "data.0" using 1:7 title "TCP (120ms, RED)" with linespoints, "data.0" using 1:6 title "TFRC (120ms, RED)" with linespoints, "data.1" using 1:7 title "TCP (120ms, RED-PD)" with linespoints, "data.1" using 1:6 title "TFRC (120ms, RED-PD)" with linespoints
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?