HOWTO script.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Sat, 7 Mar 2015 23:43:22 +0000 (00:43 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Sat, 7 Mar 2015 23:43:22 +0000 (00:43 +0100)
HOWTO.sh [new file with mode: 0755]
nodes-sum.dem [new file with mode: 0755]
nodes.dem

diff --git a/HOWTO.sh b/HOWTO.sh
new file mode 100755 (executable)
index 0000000..dc9d992
--- /dev/null
+++ b/HOWTO.sh
@@ -0,0 +1,4 @@
+# !/bin/sh
+./chroust.py -i $((6*3600)) -c hador.txt > nodes.dat
+./nodes.dem
+./nodes-sum.dem
diff --git a/nodes-sum.dem b/nodes-sum.dem
new file mode 100755 (executable)
index 0000000..5e1b699
--- /dev/null
@@ -0,0 +1,9 @@
+#! /usr/bin/gnuplot -p
+
+set xdata time
+set timefmt "%Y-%m-%d %H:%M:%S"
+set format x "%Y-%m-%d"
+
+set xtics rotate by -20
+
+plot for [i=3:26] 'nodes.dat' using 1:(sum [col=4:i+1] column(col)) notitle with lines
index 4f4f509..7a99940 100755 (executable)
--- a/nodes.dem
+++ b/nodes.dem
@@ -6,5 +6,5 @@ set format x "%Y-%m-%d"
 
 set xtics rotate by -20
 
-#plot for [i=3:26] 'nodes.dat' using 1:(column(i+1)) title column(i) with lines
-plot for [i=3:26] 'nodes.dat' using 1:(sum [col=4:i+1] column(col)) notitle with lines
+plot for [i=3:26] 'nodes.dat' using 1:(column(i+1)) title column(i) with lines
+#plot for [i=3:26] 'nodes.dat' using 1:(sum [col=4:i+1] column(col)) notitle with lines