1 # Script to plot total bytes graphs for network traffic analysis
3 # by Rahmadi Trimananda (rahmadi.trimananda@uci.edu)
4 # Programming Language Research Group @ University of California, Irvine
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'
20 set xlabel "Packet Timestamp (hh:mm:ss)"
21 set ylabel "Packet Bytes (bytes)"
23 set timefmt "%H:%M:%S"
24 #set xrange ["06:00:00":"10:00:00"]
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