Updating coloring for graphs.
authorrtrimana <rtrimana@uci.edu>
Fri, 23 Mar 2018 15:17:04 +0000 (08:17 -0700)
committerrtrimana <rtrimana@uci.edu>
Fri, 23 Mar 2018 15:17:04 +0000 (08:17 -0700)
plot_scripts/plot_ts_graph_dlink_labeled
plot_scripts/plot_ts_graph_smartthings-plug_labeled
plot_scripts/plot_ts_graph_tplink_labeled
plot_scripts/plot_ts_graph_wemo-insight_labeled
plot_scripts/plot_ts_graph_wemo_labeled

index 121e2626f6b6dede3277ff70f62e15f7b4e397e8..7f865cca4144d74b4b28fc17e412b6252f882da1 100644 (file)
@@ -45,7 +45,7 @@ set label "6-OFF" at "15:19:33", 2000 tc rgb "red"
 # wlan1
 set output './result/dlink_switch_wlan1_timestamp_local_incoming_outgoing.pdf'
 set title "DLink Switch Incoming/Outgoing Local Traffic (wlan1)"
-plot "./result/dlink_switch_wlan1_local_incoming.dat" using 1:2 with lines dt 4 title "Incoming", "./result/dlink_switch_wlan1_local_outgoing.dat" using 1:2 with lines title "Outgoing"
+plot "./result/dlink_switch_wlan1_local_incoming.dat" using 1:2 with lines lc 8 dt 4 title "Incoming", "./result/dlink_switch_wlan1_local_outgoing.dat" using 1:2 with lines lc 6 title "Outgoing"
 
 # ************ #
 # ON/OFF LABEL #
@@ -70,6 +70,6 @@ set label "6-OFF" at "15:36:15", 3000 tc rgb "red"
 # wlan1
 set output './result/dlink_switch_wlan1_timestamp_remote_incoming_outgoing.pdf'
 set title "DLink Switch Incoming Remote Traffic (wlan1)"
-plot "./result/dlink_switch_wlan1_remote_incoming.dat" using 1:2 with lines dt 4 title "Incoming", "./result/dlink_switch_wlan1_remote_outgoing.dat" using 1:2 with lines title "Outgoing"
+plot "./result/dlink_switch_wlan1_remote_incoming.dat" using 1:2 with lines lc 8 dt 4 title "Incoming", "./result/dlink_switch_wlan1_remote_outgoing.dat" using 1:2 with lines lc 6 title "Outgoing"
 
 
index 8c11c0c9d4d0908e343075645d05c4059514b88b..2dda30538a7d8240e8c769738c5f6891db45313f 100644 (file)
@@ -46,7 +46,7 @@ set label "6-OFF" at "15:34:16", 4000 tc rgb "red"
 # eth1
 set output './result/smartthings-plug_switch_eth1_timestamp_local_incoming_outgoing.pdf'
 set title "SmartThings Plug Switch Incoming/Outgoing Local Traffic (eth1)"
-plot "./result/smartthings-plug_switch_eth1_local_incoming.dat" using 1:2 with lines dt 4 title "Incoming", "./result/smartthings-plug_switch_eth1_local_outgoing.dat" using 1:2 with lines title "Outgoing"
+plot "./result/smartthings-plug_switch_eth1_local_incoming.dat" using 1:2 with lines lc 8 dt 4 title "Incoming", "./result/smartthings-plug_switch_eth1_local_outgoing.dat" using 1:2 with lines lc 6 title "Outgoing"
 
 # ************ #
 # ON/OFF LABEL #
@@ -72,6 +72,6 @@ set label "6-OFF" at "15:50:42", 1000 tc rgb "red"
 # eth1
 set output './result/smartthings-plug_switch_eth1_timestamp_remote_incoming_outgoing.pdf'
 set title "SmartThings Plug Switch Incoming/Outgoing Remote Traffic (eth1)"
-plot "./result/smartthings-plug_switch_eth1_remote_incoming.dat" using 1:2 with lines dt 4 title "Incoming", "./result/smartthings-plug_switch_eth1_remote_outgoing.dat" using 1:2 with lines title "Outgoing"
+plot "./result/smartthings-plug_switch_eth1_remote_incoming.dat" using 1:2 with lines lc 8 dt 4 title "Incoming", "./result/smartthings-plug_switch_eth1_remote_outgoing.dat" using 1:2 with lines lc 6 title "Outgoing"
 
 
index 57223678a0f4f97ba65a771c37885cf2f22d12a0..28c809db7ac5865f449ee7d55b6b231f27117c9c 100644 (file)
@@ -45,7 +45,7 @@ set label "6-OFF" at "13:50:30", 7000 tc rgb "red"
 # wlan1
 set output './result/tplink_switch_wlan1_timestamp_local_incoming_outgoing.pdf'
 set title "TP-Link Switch Incoming/Outgoing Local Traffic (wlan1)"
-plot "./result/tplink_switch_wlan1_local_incoming.dat" using 1:2 with lines title "Incoming", "./result/tplink_switch_wlan1_local_outgoing.dat" using 1:2 with lines dt 4 title "Outgoing"
+plot "./result/tplink_switch_wlan1_local_incoming.dat" using 1:2 with lines lc 8 dt 4 title "Incoming", "./result/tplink_switch_wlan1_local_outgoing.dat" using 1:2 with lines lc 6 title "Outgoing"
 
 # ************ #
 # ON/OFF LABEL #
@@ -70,5 +70,5 @@ set label "6-OFF" at "14:06:49", 7000 tc rgb "red"
 # wlan1
 set output './result/tplink_switch_wlan1_timestamp_remote_incoming_outgoing.pdf'
 set title "TP-Link Switch Incoming/Outgoing Remote Traffic (wlan1)"
-plot "./result/tplink_switch_wlan1_remote_incoming.dat" using 1:2 with lines title "Incoming", "./result/tplink_switch_wlan1_remote_outgoing.dat" using 1:2 with lines dt 4 title "Outgoing"
+plot "./result/tplink_switch_wlan1_remote_incoming.dat" using 1:2 with lines lc 8 dt 4 title "Incoming", "./result/tplink_switch_wlan1_remote_outgoing.dat" using 1:2 with lines lc 6 title "Outgoing"
 
index d1b278fbc3af015137f84be2b7212bab959f209e..992dda023a3f4281fbad8d9dd0a5b294aa124dba 100644 (file)
@@ -45,7 +45,7 @@ set label "6-OFF" at "16:12:46", 50000 tc rgb "red"
 # wlan1
 set output './result/wemo-insight_switch_wlan1_timestamp_local_incoming_outgoing.pdf'
 set title "WeMo Insight Switch Incoming/Outgoing Local Traffic (wlan1)"
-plot "./result/wemo-insight_switch_wlan1_local_incoming.dat" using 1:2 with lines dt 4 title "Incoming", "./result/wemo-insight_switch_wlan1_local_outgoing.dat" using 1:2 with lines title "Outgoing"
+plot "./result/wemo-insight_switch_wlan1_local_incoming.dat" using 1:2 with lines lc 8 dt 4 title "Incoming", "./result/wemo-insight_switch_wlan1_local_outgoing.dat" using 1:2 with lines lc 6 title "Outgoing"
 
 # ************ #
 # ON/OFF LABEL #
@@ -68,7 +68,7 @@ set label "6-OFF" at "16:31:18", 60000 tc rgb "red"
 # ***************** #
 # WeMo Insight switch remote
 # wlan1
-set output './result/wemo-insight_switch_wlan_timestamp_remote_incoming_outgoing.pdf'
+set output './result/wemo-insight_switch_wlan1_timestamp_remote_incoming_outgoing.pdf'
 set title "WeMo Insight Switch Incoming/Outgoing Remote Traffic (wlan1)"
-plot "./result/wemo-insight_switch_wlan1_remote_incoming.dat" using 1:2 with lines dt 4 title "Incoming", "./result/wemo-insight_switch_wlan1_remote_outgoing.dat" using 1:2 with lines title "Outgoing"
+plot "./result/wemo-insight_switch_wlan1_remote_incoming.dat" using 1:2 with lines lc 8 dt 4 title "Incoming", "./result/wemo-insight_switch_wlan1_remote_outgoing.dat" using 1:2 with lines lc 6 title "Outgoing"
 
index d5f4fde278e44a77261784b424a3b481236914f8..a0f522a7194e2086e725ec96185f1a0ba8acef7f 100644 (file)
@@ -39,7 +39,7 @@ set label "3-OFF" at "11:15:17", 50000 tc rgb "red"
 # wlan1
 set output './result/wemo_switch_wlan1_timestamp_local_incoming_outgoing.pdf'
 set title "WeMo Switch Incoming/Outgoing Local Traffic (wlan1)"
-plot "./result/wemo_switch_wlan1_local_incoming.dat" using 1:2 with lines dt 4 title "Incoming", "./result/wemo_switch_wlan1_local_outgoing.dat" using 1:2 with lines title "Outgoing"
+plot "./result/wemo_switch_wlan1_local_incoming.dat" using 1:2 with lines lc 8 dt 4 title "Incoming", "./result/wemo_switch_wlan1_local_outgoing.dat" using 1:2 with lines lc 6 title "Outgoing"
 
 # ************ #
 # ON/OFF LABEL #
@@ -58,6 +58,6 @@ set label "3-OFF" at "11:26:55", 50000 tc rgb "blue"
 # wlan1
 set output './result/wemo_switch_wlan1_timestamp_remote_incoming_outgoing.pdf'
 set title "WeMo Switch Incoming/Outgoing Remote Traffic (wlan1)"
-plot "./result/wemo_switch_wlan1_remote_incoming.dat" using 1:2 with lines dt 4 title "Incoming", "./result/wemo_switch_wlan1_remote_outgoing.dat" using 1:2 with lines title "Outgoing"
+plot "./result/wemo_switch_wlan1_remote_incoming.dat" using 1:2 with lines lc 8 dt 4 title "Incoming", "./result/wemo_switch_wlan1_remote_outgoing.dat" using 1:2 with lines lc 6 title "Outgoing"