Debian Codegraph @

tcl/ex/red-pd/tfrc/tfrc.gp

raw
1 reset
2 set terminal X
3 set xrange [4:36]
4 set xtics 8,4,32
5 set yrange [0.5:1.3]
6 set ytics 0.5,0.2,1.3
7 set size 1,0.5
8 set key left bottom
9 set xlabel "Total Number of Flows"
10 set ylabel "Normalized TFRC Xput"
11
12 set terminal postscript monochrome dashed 18
13 set output "tfrcLow.ps"
14 plot "data.0" using 1:2 title "RED (30 ms)" with lp, "data.1" using 1:2 title "RED-PD (30 ms)" with lp
15
16 #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 2
17
18 set output "tfrcHigh.ps"
19 plot "data.0" using 1:3 title "RED (120 ms)" with lp, "data.1" using 1:3 title "RED-PD (120 ms)" with lp
20
21 #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 2
22
23 set yrange [0:8]
24 set ytics 0,2,8
25 set ylabel "Drop Rate (%)"
26 set key left top
27 set size 1,0.5
28
29 set terminal postscript monochrome dashed 18
30 set output "tfrc-dropRate.ps"
31 plot "dropRate0-1" title "RED" with linespoints, "dropRate1-1" title "RED-PD" with linespoints
32
33
34
35 reset
36 set terminal X
37 set xrange [4:36]
38 set xtics 8,4,32
39 set xlabel "Total Number of Flows"
40 set ylabel "Throughput (Mbps)"
41
42 set terminal postscript monochrome dashed 18
43 set output "tfrc.ps"
44
45 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
46