BUGFIX: Make sure to always spawn a new sequence matcher when a sequence matcher...
[pingpong.git] / plot_scripts / plot_ts_graph_wemo-insight_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 # WeMo Insight switch local
29 # wlan1 / eth0
30 set output './result/wemo-insight_switch_wlan_timestamp_local_incoming_combined.png'
31 set title "WeMo Insight Switch Incoming Local Traffic (wlan1/eth0)"
32 plot "./result/wemo-insight_switch_wlan_local_incoming.dat" using 1:2 with lines title "wlan1", "./result/wemo-insight_switch_eth_local_incoming.dat" using 1:2 with lines title "eth0", "./result/wemo-insight_phone_wlan_local_outgoing.dat" using 1:2 with lines title "wlan1-phone-outgoing", "./result/wemo-insight_phone_wlan_local_incoming.dat" using 1:2 with lines title "wlan1-phone-incoming"
33 set output './result/wemo-insight_switch_wlan_timestamp_local_outgoing_combined.png'
34 set title "WeMo Insight Switch Outgoing Local Traffic (wlan1/eth0)"
35 plot "./result/wemo-insight_switch_wlan_local_outgoing.dat" using 1:2 with lines title "wlan1", "./result/wemo-insight_switch_eth_local_outgoing.dat" using 1:2 with lines title "eth0", "./result/wemo-insight_phone_wlan_local_outgoing.dat" using 1:2 with lines title "wlan1-phone-outgoing", "./result/wemo-insight_phone_wlan_local_incoming.dat" using 1:2 with lines title "wlan1-phone-incoming"
36
37 # WeMo Insight switch remote
38 # wlan1
39 set output './result/wemo-insight_switch_wlan_timestamp_remote_incoming_combined.png'
40 set title "WeMo Insight Switch Incoming Remote Traffic (wlan1/eth0)"
41 plot "./result/wemo-insight_switch_wlan_remote_incoming.dat" using 1:2 with lines title "wlan1", "./result/wemo-insight_switch_eth_remote_incoming.dat" using 1:2 with lines title "eth0"
42 set output './result/wemo-insight_switch_wlan_timestamp_remote_outgoing_combined.png'
43 set title "WeMo Insight Switch Outgoing Remote Traffic (wlan1/eth0)"
44 plot "./result/wemo-insight_switch_wlan_remote_outgoing.dat" using 1:2 with lines title "wlan1", "./result/wemo-insight_switch_eth_remote_outgoing.dat" using 1:2 with lines title "eth0"