BUGFIX: Make sure to always spawn a new sequence matcher when a sequence matcher...
[pingpong.git] / plot_scripts / plot_ia_graph
1 # Script to plot inter-arrival timestamp 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 xtics auto
18 set ytics auto
19 set xlabel "Packet Number"
20 set ylabel "Time (seconds)"
21 set xrange [:]
22 set yrange [0:]
23
24 # ***************** #
25 # PER DEVICE SETUP  #
26 # ***************** #
27 # WeMo switch
28 #set output '../result_ia/wemo_switch_incoming.ps'
29 #set output '../result_ia/wemo_switch_incoming.eps'
30 set output '../result_ia/wemo_switch_inter_arrival_incoming.png'
31 set title "WeMo Switch Inter-Arrival Incoming Traffic"
32 plot "../result_ia/wemo_switch_incoming.dat" using 1:2 with lines
33 set output '../result_ia/wemo_switch_inter_arrival_outgoing.png'
34 set title "WeMo Switch Inter-Arrival Outgoing Traffic"
35 plot "../result_ia/wemo_switch_outgoing.dat" using 1:2 with lines
36