Removing main_flow.sh; fixing flow to take time series plots from non DNS data
[pingpong.git] / plot_scripts / plot_ts_graph_tplink_combined
1 # Script to plot time series graphs for network traffic analysis
2 #
3 # by Rahmadi Trimananda (rahmadi.trimananda@uci.edu)
4 # Programming Language Research Group @ University of California, Irvine
5 # Winter 2018
6
7 # ************ #
8 # BASIC SETUP  #
9 # ************ #
10 set terminal pngcairo enhanced font 'Verdana,10'
11 set autoscale
12 set key
13 unset log
14 unset label
15 set xtics 50
16 set xtics rotate by 60 right
17 set ytics auto
18 set xlabel "Packet Timestamp (hh:mm:ss)"
19 set ylabel "Packet Size (bytes)"
20 set xdata time
21 set timefmt "%H:%M:%S"
22 set xrange [:]
23 set yrange [0:]
24
25 # ***************** #
26 # PER DEVICE SETUP  #
27 # ***************** #
28 # TPLink switch local
29 # wlan1 / eth0
30 set output './result/tplink_switch_wlan_timestamp_local_incoming_combined.png'
31 set title "TP-Link Switch Incoming Local Traffic (wlan1/eth0)"
32 plot "./result/tplink_switch_wlan_local_incoming.dat" using 1:2 with lines title "wlan1", "./result/tplink_switch_eth_local_incoming.dat" using 1:2 with lines title "eth0", "./result/tplink_phone_wlan_local_outgoing.dat" using 1:2 with lines title "wlan1-phone-outgoing", "./result/tplink_phone_wlan_local_incoming.dat" using 1:2 with lines title "wlan1-phone-incoming"
33 set output './result/tplink_switch_wlan_timestamp_local_outgoing_combined.png'
34 set title "TP-Link Switch Outgoing Local Traffic (wlan1/eth0)"
35 plot "./result/tplink_switch_wlan_local_outgoing.dat" using 1:2 with lines title "wlan1", "./result/tplink_switch_eth_local_outgoing.dat" using 1:2 with lines title "eth0", "./result/tplink_phone_wlan_local_outgoing.dat" using 1:2 with lines title "wlan1-phone-outgoing", "./result/tplink_phone_wlan_local_incoming.dat" using 1:2 with lines title "wlan1-phone-incoming"
36
37 # TPLink switch remote
38 # wlan1 / eth0
39 set output './result/tplink_switch_wlan_timestamp_remote_incoming_combined.png'
40 set title "TP-Link Switch Incoming Remote Traffic (wlan1/eth0)"
41 plot "./result/tplink_switch_wlan_remote_incoming.dat" using 1:2 with lines title "wlan1", "./result/tplink_switch_eth_remote_incoming.dat" using 1:2 with lines title "eth0"
42 set output './result/tplink_switch_wlan_timestamp_remote_outgoing_combined.png'
43 set title "TP-Link Switch Outgoing Remote Traffic (wlan1/eth0)"
44 plot "./result/tplink_switch_wlan_remote_outgoing.dat" using 1:2 with lines title "wlan1", "./result/tplink_switch_eth_remote_outgoing.dat" using 1:2 with lines title "eth0"
45