Browse Source

thinking about dataplotting

tth 1 year ago
parent
commit
2f2bfa641a
1 changed files with 20 additions and 0 deletions
  1. 20
    0
      viz/gnuplot/average4v.awk

+ 20
- 0
viz/gnuplot/average4v.awk View File

@@ -0,0 +1,20 @@
1
+#!/usr/bin/awk -f
2
+
3
+BEGIN	{
4
+	flag_debut = 1;
5
+	}
6
+
7
+	{
8
+	if (flag_debut) {
9
+		debut = $1
10
+		flag_debut = 0
11
+		}
12
+	minutes = ($1-debut) / 60;
13
+	val = ($2 + $3 + $4 + $5) / 4.0;
14
+	print minutes, val;
15
+	}
16
+
17
+
18
+
19
+
20
+

Loading…
Cancel
Save