BUGFIX: Make sure to always spawn a new sequence matcher when a sequence matcher...
[pingpong.git] / plot_scripts / plot_tb_graph
1 # Script to plot total bytes graphs for network traffic analysis
2 #
3 # by Rahmadi Trimananda (rahmadi.trimananda@uci.edu)
4 # Programming Language Research Group @ University of California, Irvine
5 # Fall 2017
6
7 # ************ #
8 # BASIC SETUP  #
9 # ************ #
10 #set terminal postscript landscape "Arial, 18"
11 #set terminal postscript eps font 'Helvetica,20' enhanced color 
12 set terminal pngcairo enhanced font 'Verdana,10'
13 set autoscale
14 unset key
15 unset log
16 unset label
17 set logscale y 2
18 set xtics 600
19 set ytics auto
20 set xlabel "Packet Timestamp (hh:mm:ss)"
21 set ylabel "Packet Bytes (bytes)"
22 set xdata time
23 set timefmt "%H:%M:%S"
24 #set xrange ["06:00:00":"10:00:00"]
25 #set yrange [0:200]
26 set xrange [:]
27 set yrange [1:]
28
29 # ***************** #
30 # PER DEVICE SETUP  #
31 # ***************** #
32 # WeMo switch
33 #set output '../result_tb/wemo_switch_incoming.ps'
34 #set output '../result_tb/wemo_switch_incoming.eps'
35 set output '../result_tb/wemo_switch_packet_size_incoming.png'
36 set title "WeMo Switch Total Bytes Incoming Traffic"
37 plot "../result_tb/wemo_switch_incoming.dat" using 1:2 with lines
38 set output '../result_tb/wemo_switch_packet_size_outgoing.png'
39 set title "WeMo Switch Total Bytes Outgoing Traffic"
40 plot "../result_tb/wemo_switch_outgoing.dat" using 1:2 with lines
41