Debian Codegraph @

tcl/ex/xcp/parking_lot_topo/out/string.gp

raw
1 #! /usr/bin/env gnuplot
2
3 set style line 1 lw 2 pt 7
4 set style line 2 lw 1 pt 2
5 set style line 3 lw 1 pt 8
6 set style line 4 lw 1 pt 4
7 set style line 5 lw 1 pt 6
8 set style line 6 lw 1 pt 5
9 set style line 7 lw 1 pt 1
10
11 set term postscript eps 15
12 set output "string.eps"
13
14 set data style points
15
16
17
18 set size 1,1.5
19 set multiplot
20
21
22
23
24 set key right bottom
25 set size 1,.5
26 set origin 0.0,1
27 #set ytics 0.2
28 set ylabel "Utilization"
29 set xlabel "(a) Link ID"
30 set yrange [ * : *]
31
32 plot 'u.1' title 'XCP' ls 1, 'u.1' notitle with lines ls 1
33 # 'u.2' title 'RED' ls 2, 'u.2' notitle with lines ls 2, \
34 # 'u.3' title 'DropTail' ls 3, 'u.3' notitle with lines ls 3, \
35 # 'u.4' title 'REM' ls 4, 'u.4' notitle with lines ls 4
36
37 pause 0
38
39
40 set key right top
41 set size 1,.5
42 set origin 0,0.5
43 #set ytics 100
44 set ylabel "Average Queue (packets)"
45 set xlabel "(b) Link ID"
46 set yrange [ * : * ]
47
48 plot 'q.1' title 'XCP' ls 1, 'q.1' notitle with lines ls 1
49 # 'q.2' title 'RED' ls 2, 'q.2' notitle with lines ls 2, \
50 # 'q.3' title 'DropTail' ls 3, 'q.3' notitle with lines ls 3, \
51 # 'q.4' title 'REM' ls 4, 'q.4' notitle with lines ls 4
52
53 pause 0
54
55
56 set size 1,0.5
57 set origin 0,0
58 #set ytics 500
59 set ylabel "Packet Drops"
60 set xlabel "(c) Link ID"
61
62 plot 'd.1' title 'XCP' ls 1, 'd.1' notitle with lines ls 1
63 # 'd.2' title 'RED' ls 2, 'd.2' notitle with lines ls 2, \
64 # 'd.3' title 'DropTail' ls 3, 'd.3' notitle with lines ls 3, \
65 # 'd.4' title 'REM' ls 4, 'd.4' notitle with lines ls 4
66
67 pause 0
68