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/dlink_switch_wlan_timestamp_local_incoming_combined.png'
31 set title "DLink Switch Incoming Local Traffic (wlan1/eth0)"
32 plot "./result/dlink_switch_wlan_local_incoming.dat" using 1:2 with lines title "wlan1", "./result/dlink_switch_eth_local_incoming.dat" using 1:2 with lines title "eth0", "./result/dlink_phone_wlan_local_outgoing.dat" using 1:2 with lines title "wlan1-phone-outgoing", "./result/dlink_phone_wlan_local_incoming.dat" using 1:2 with lines title "wlan1-phone-incoming"
33 set output './result/dlink_switch_wlan_timestamp_local_outgoing_combined.png'
34 set title "DLink Switch Outgoing Local Traffic (wlan1/eth0)"
35 plot "./result/dlink_switch_wlan_local_outgoing.dat" using 1:2 with lines title "wlan1", "./result/dlink_switch_eth_local_outgoing.dat" using 1:2 with lines title "eth0", "./result/dlink_phone_wlan_local_outgoing.dat" using 1:2 with lines title "wlan1-phone-outgoing", "./result/dlink_phone_wlan_local_incoming.dat" using 1:2 with lines title "wlan1-phone-incoming"
39 set output './result/dlink_switch_wlan_timestamp_remote_incoming_combined.png'
40 set title "DLink Switch Incoming Remote Traffic (wlan1/eth0)"
41 plot "./result/dlink_switch_wlan_remote_incoming.dat" using 1:2 with lines title "wlan1", "./result/dlink_switch_eth_remote_incoming.dat" using 1:2 with lines title "eth0"
42 set output './result/dlink_switch_wlan_timestamp_remote_outgoing_combined.png'
43 set title "DLink Switch Outgoing Remote Traffic (wlan1/eth0)"
44 plot "./result/dlink_switch_wlan_remote_outgoing.dat" using 1:2 with lines title "wlan1", "./result/dlink_switch_eth_remote_outgoing.dat" using 1:2 with lines title "eth0"