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 121e262..7f865cc 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 8c11c0c..2dda305 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 5722367..28c809d 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 d1b278f..992dda0 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 d5f4fde..a0f522a 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"