Deleting unwanted scripts and checking in relevant ones.
[pingpong.git] / plot_scripts / plot_ts_graph_wemo-insight
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 unset 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 # eth0
30 set output './result/wemo-insight_switch_eth_timestamp_local_incoming.png'
31 set title "WeMo Insight Switch Incoming Local Traffic (eth0)"
32 plot "./result/wemo-insight_switch_eth_local_incoming.dat" using 1:2 with lines
33 set output './result/wemo-insight_switch_eth_timestamp_local_outgoing.png'
34 set title "WeMo Insight Switch Outgoing Local Traffic (eth0)"
35 plot "./result/wemo-insight_switch_eth_local_outgoing.dat" using 1:2 with lines
36 # wlan1
37 set output './result/wemo-insight_switch_wlan_timestamp_local_incoming.png'
38 set title "WeMo Insight Switch Incoming Local Traffic (wlan1)"
39 plot "./result/wemo-insight_switch_wlan_local_incoming.dat" using 1:2 with lines
40 set output './result/wemo-insight_switch_wlan_timestamp_local_outgoing.png'
41 set title "WeMo Insight Switch Outgoing Local Traffic (wlan1)"
42 plot "./result/wemo-insight_switch_wlan_local_outgoing.dat" using 1:2 with lines
43
44 # WeMo Insight switch remote
45 # eth0
46 set output './result/wemo-insight_switch_eth_timestamp_remote_incoming.png'
47 set title "WeMo Insight Switch Incoming Remote Traffic (eth0)"
48 plot "./result/wemo-insight_switch_eth_remote_incoming.dat" using 1:2 with lines
49 set output './result/wemo-insight_switch_eth_timestamp_remote_outgoing.png'
50 set title "WeMo Insight Switch Outgoing Remote Traffic (eth0)"
51 plot "./result/wemo-insight_switch_eth_remote_outgoing.dat" using 1:2 with lines
52 # wlan1
53 set output './result/wemo-insight_switch_wlan_timestamp_remote_incoming.png'
54 set title "WeMo Insight Switch Incoming Remote Traffic (wlan1)"
55 plot "./result/wemo-insight_switch_wlan_remote_incoming.dat" using 1:2 with lines
56 set output './result/wemo-insight_switch_wlan_timestamp_remote_outgoing.png'
57 set title "WeMo Insight Switch Outgoing Remote Traffic (wlan1)"
58 plot "./result/wemo-insight_switch_wlan_remote_outgoing.dat" using 1:2 with lines
59
60 # WeMo Insight phone local
61 # wlan1
62 set output './result/wemo-insight_phone_wlan_timestamp_local_incoming.png'
63 set title "WeMo Insight Phone Incoming Local Traffic (wlan1)"
64 plot "./result/wemo-insight_phone_wlan_local_incoming.dat" using 1:2 with lines
65 set output './result/wemo-insight_phone_wlan_timestamp_local_outgoing.png'
66 set title "WeMo Insight Phone Outgoing Local Traffic (wlan1)"
67 plot "./result/wemo-insight_phone_wlan_local_outgoing.dat" using 1:2 with lines
68