From d82b62f74f5c5f4ed29bb776f664c6b2862ef257 Mon Sep 17 00:00:00 2001
From: rtrimana <rtrimana@uci.edu>
Date: Wed, 21 Mar 2018 10:25:56 -0700
Subject: [PATCH] Changing Packet Bytes into Traffic Volume in the generated
 time series graphs.

---
 plot_scripts/plot_ts_graph_dlink_labeled            | 2 +-
 plot_scripts/plot_ts_graph_smartthings-plug_labeled | 2 +-
 plot_scripts/plot_ts_graph_tplink_labeled           | 2 +-
 plot_scripts/plot_ts_graph_wemo-insight_labeled     | 4 ++--
 plot_scripts/plot_ts_graph_wemo_labeled             | 2 +-
 run.sh                                              | 1 +
 6 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/plot_scripts/plot_ts_graph_dlink_labeled b/plot_scripts/plot_ts_graph_dlink_labeled
index 84f75da..121e262 100644
--- a/plot_scripts/plot_ts_graph_dlink_labeled
+++ b/plot_scripts/plot_ts_graph_dlink_labeled
@@ -16,7 +16,7 @@ set xtics 50
 set xtics rotate by 60 right
 set ytics auto
 set xlabel "Packet Timestamp (hh:mm:ss)"
-set ylabel "Packet Size (bytes)"
+set ylabel "Traffic Volume (bytes)"
 set xdata time
 set timefmt "%H:%M:%S"
 set xrange [:]
diff --git a/plot_scripts/plot_ts_graph_smartthings-plug_labeled b/plot_scripts/plot_ts_graph_smartthings-plug_labeled
index 02a1fc7..8c11c0c 100644
--- a/plot_scripts/plot_ts_graph_smartthings-plug_labeled
+++ b/plot_scripts/plot_ts_graph_smartthings-plug_labeled
@@ -16,7 +16,7 @@ set xtics 50
 set xtics rotate by 60 right
 set ytics auto
 set xlabel "Packet Timestamp (hh:mm:ss)"
-set ylabel "Packet Size (bytes)"
+set ylabel "Traffic Volume (bytes)"
 set xdata time
 set timefmt "%H:%M:%S"
 set xrange [:]
diff --git a/plot_scripts/plot_ts_graph_tplink_labeled b/plot_scripts/plot_ts_graph_tplink_labeled
index e9af2d7..5722367 100644
--- a/plot_scripts/plot_ts_graph_tplink_labeled
+++ b/plot_scripts/plot_ts_graph_tplink_labeled
@@ -16,7 +16,7 @@ set xtics 50
 set xtics rotate by 60 right
 set ytics auto
 set xlabel "Packet Timestamp (hh:mm:ss)"
-set ylabel "Packet Size (bytes)"
+set ylabel "Traffic Volume (bytes)"
 set xdata time
 set timefmt "%H:%M:%S"
 set xrange [:]
diff --git a/plot_scripts/plot_ts_graph_wemo-insight_labeled b/plot_scripts/plot_ts_graph_wemo-insight_labeled
index ccc8801..d1b278f 100644
--- a/plot_scripts/plot_ts_graph_wemo-insight_labeled
+++ b/plot_scripts/plot_ts_graph_wemo-insight_labeled
@@ -16,7 +16,7 @@ set xtics 50
 set xtics rotate by 60 right
 set ytics auto
 set xlabel "Packet Timestamp (hh:mm:ss)"
-set ylabel "Packet Size (bytes)"
+set ylabel "Traffic Volume (bytes)"
 set xdata time
 set timefmt "%H:%M:%S"
 set xrange [:]
@@ -61,7 +61,7 @@ set label "4-OFF" at "16:27:09", 120000 tc rgb "red"
 set label "5-ON" at "16:28:15", 80000 tc rgb "blue"
 set label "5-OFF" at "16:29:12", 120000 tc rgb "red"
 set label "6-ON" at "16:30:13", 80000 tc rgb "blue"
-set label "6-OFF" at "16:31:18", 120000 tc rgb "red"
+set label "6-OFF" at "16:31:18", 60000 tc rgb "red"
 
 # ***************** #
 # PER DEVICE SETUP  #
diff --git a/plot_scripts/plot_ts_graph_wemo_labeled b/plot_scripts/plot_ts_graph_wemo_labeled
index 26d02e2..d5f4fde 100644
--- a/plot_scripts/plot_ts_graph_wemo_labeled
+++ b/plot_scripts/plot_ts_graph_wemo_labeled
@@ -16,7 +16,7 @@ set xtics 50
 set xtics rotate by 60 right
 set ytics auto
 set xlabel "Packet Timestamp (hh:mm:ss)"
-set ylabel "Packet Size (bytes)"
+set ylabel "Traffic Volume (bytes)"
 set xdata time
 set timefmt "%H:%M:%S"
 set xrange [:]
diff --git a/run.sh b/run.sh
index 2b92991..5f2065e 100755
--- a/run.sh
+++ b/run.sh
@@ -37,6 +37,7 @@ PHONE_MAC=64:89:9a:86:a9:7d
 #PATH_LOCAL=/scratch/traffic_measurements/Switches-Feb2018/dlink/local
 #PATH_REMOTE=/scratch/traffic_measurements/Switches-Feb2018/dlink/remote
 
+# For smartthings-plug we need to uncomment the eth1 command line below instead of wlan1
 PREFIX=smartthings-plug
 DEVICE=SmartThings_Plug
 DEVICE_MAC=d0:52:a8:a3:60:0f
-- 
2.34.1