From b897f5f452def308c2fe1917bd0dd77520cf5524 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Sun, 8 Mar 2015 00:43:22 +0100 Subject: [PATCH] HOWTO script. --- HOWTO.sh | 4 ++++ nodes-sum.dem | 9 +++++++++ nodes.dem | 4 ++-- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100755 HOWTO.sh create mode 100755 nodes-sum.dem diff --git a/HOWTO.sh b/HOWTO.sh new file mode 100755 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 index 0000000..5e1b699 --- /dev/null +++ b/nodes-sum.dem @@ -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 diff --git a/nodes.dem b/nodes.dem index 4f4f509..7a99940 100755 --- 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 -- 1.8.2.3