-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenflow-gnuplot
22 lines (18 loc) · 954 Bytes
/
openflow-gnuplot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
set terminal pngcairo size 1600,900
set output "OF-delay-with-RTT_1.png"
set key reverse right top font ",14"
set key spacing 1.0
set multiplot layout 1,1 title "OF Oneway delay and S4 IAT - BW=10Mbps, RTT 40ms, Queue size 50 packets" font "Arial-Bold,18"
set xlabel "Time (sec) " font ",12"
set xrange [0:200]
set grid
offset_D=98136.769304
offset_D1=48.116
offset_D2=48.137
mul=1
set yrange[0:]
set ylabel "Time (msec)" font ",12"
plot"owd-new" using ($1-offset_D1):(($2)*1000) with points pt 7 ps 1 title "Openflow One-way delay","iat_new" using ($1-offset_D2):(($2)*1000) title "OF S4 IAT" with points lt rgb "green","rtt_new_11" using (($1-offset_D)*mul):(($2)*0.000125) title "RTT" with points lt rgb "orange"
#,"tcpdump-timedelay" using ($1-offset_D2):(($2)*1000) title "Wireshark One-way delay" with points lt rgb "blue",
#, "s2iattime" using ($1-offset_D1):(($2)*100) title "Openflow One-way delay" with points lt rgb "black"