1 # Script to plot time series graphs for network traffic analysis
3 # by Rahmadi Trimananda (rahmadi.trimananda@uci.edu)
4 # Programming Language Research Group @ University of California, Irvine
10 set terminal pngcairo enhanced font 'Verdana,10'
16 set xtics rotate by 60 right
18 set xlabel "Packet Timestamp (hh:mm:ss)"
19 set ylabel "Packet Size (bytes)"
21 set timefmt "%H:%M:%S"
30 set output './result/wemo_switch_eth0_timestamp_local_incoming.png'
31 set title "WeMo Switch Incoming Local Traffic (eth0)"
32 plot "./result/wemo_switch_eth0_local_incoming.dat" using 1:2 with lines
33 set output './result/wemo_switch_eth0_timestamp_local_outgoing.png'
34 set title "WeMo Switch Outgoing Local Traffic (eth0)"
35 plot "./result/wemo_switch_eth0_local_outgoing.dat" using 1:2 with lines
37 set output './result/wemo_switch_wlan1_timestamp_local_incoming.png'
38 set title "WeMo Switch Incoming Local Traffic (wlan1)"
39 plot "./result/wemo_switch_wlan1_local_incoming.dat" using 1:2 with lines
40 set output './result/wemo_switch_wlan1_timestamp_local_outgoing.png'
41 set title "WeMo Switch Outgoing Local Traffic (wlan1)"
42 plot "./result/wemo_switch_wlan1_local_outgoing.dat" using 1:2 with lines
46 set output './result/wemo_switch_eth0_timestamp_remote_incoming.png'
47 set title "WeMo Switch Incoming Remote Traffic (eth0)"
48 plot "./result/wemo_switch_eth0_remote_incoming.dat" using 1:2 with lines
49 set output './result/wemo_switch_eth0_timestamp_remote_outgoing.png'
50 set title "WeMo Switch Outgoing Remote Traffic (eth0)"
51 plot "./result/wemo_switch_eth0_remote_outgoing.dat" using 1:2 with lines
53 set output './result/wemo_switch_wlan1_timestamp_remote_incoming.png'
54 set title "WeMo Switch Incoming Remote Traffic (wlan1)"
55 plot "./result/wemo_switch_wlan1_remote_incoming.dat" using 1:2 with lines
56 set output './result/wemo_switch_wlan1_timestamp_remote_outgoing.png'
57 set title "WeMo Switch Outgoing Remote Traffic (wlan1)"
58 plot "./result/wemo_switch_wlan1_remote_outgoing.dat" using 1:2 with lines
62 set output './result/wemo_phone_wlan1_timestamp_local_incoming.png'
63 set title "WeMo Phone Incoming Local Traffic (wlan1)"
64 plot "./result/wemo_phone_wlan1_local_incoming.dat" using 1:2 with lines
65 set output './result/wemo_phone_wlan1_timestamp_local_outgoing.png'
66 set title "WeMo Phone Outgoing Local Traffic (wlan1)"
67 plot "./result/wemo_phone_wlan1_local_outgoing.dat" using 1:2 with lines