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/tplink_switch_eth_timestamp_local_incoming.png'
31 set title "TP-Link Switch Incoming Local Traffic (eth0)"
32 plot "./result/tplink_switch_eth_local_incoming.dat" using 1:2 with lines
33 set output './result/tplink_switch_eth_timestamp_local_outgoing.png'
34 set title "TP-Link Switch Outgoing Local Traffic (eth0)"
35 plot "./result/tplink_switch_eth_local_outgoing.dat" using 1:2 with lines
37 set output './result/tplink_switch_wlan_timestamp_local_incoming.png'
38 set title "TP-Link Switch Incoming Local Traffic (wlan1)"
39 plot "./result/tplink_switch_wlan_local_incoming.dat" using 1:2 with lines
40 set output './result/tplink_switch_wlan_timestamp_local_outgoing.png'
41 set title "TP-Link Switch Outgoing Local Traffic (wlan1)"
42 plot "./result/tplink_switch_wlan_local_outgoing.dat" using 1:2 with lines
44 # TPLink switch remote
46 set output './result/tplink_switch_eth_timestamp_remote_incoming.png'
47 set title "TP-Link Switch Incoming Remote Traffic (eth0)"
48 plot "./result/tplink_switch_eth_remote_incoming.dat" using 1:2 with lines
49 set output './result/tplink_switch_eth_timestamp_remote_outgoing.png'
50 set title "TP-Link Switch Outgoing Remote Traffic (eth0)"
51 plot "./result/tplink_switch_eth_remote_outgoing.dat" using 1:2 with lines
53 set output './result/tplink_switch_wlan_timestamp_remote_incoming.png'
54 set title "TP-Link Switch Incoming Remote Traffic (wlan1)"
55 plot "./result/tplink_switch_wlan_remote_incoming.dat" using 1:2 with lines
56 set output './result/tplink_switch_wlan_timestamp_remote_outgoing.png'
57 set title "TP-Link Switch Outgoing Remote Traffic (wlan1)"
58 plot "./result/tplink_switch_wlan_remote_outgoing.dat" using 1:2 with lines
62 set output './result/tplink_phone_wlan_timestamp_local_incoming.png'
63 set title "TP-Link Phone Incoming Local Traffic (wlan1)"
64 plot "./result/tplink_phone_wlan_local_incoming.dat" using 1:2 with lines
65 set output './result/tplink_phone_wlan_timestamp_local_outgoing.png'
66 set title "TP-Link Phone Outgoing Local Traffic (wlan1)"
67 plot "./result/tplink_phone_wlan_local_outgoing.dat" using 1:2 with lines