thinking about dataplotting

This commit is contained in:
tth 2019-01-16 23:15:20 +01:00
parent 4c984ebdcc
commit 2f2bfa641a

20
viz/gnuplot/average4v.awk Executable file
View File

@ -0,0 +1,20 @@
#!/usr/bin/awk -f
BEGIN {
flag_debut = 1;
}
{
if (flag_debut) {
debut = $1
flag_debut = 0
}
minutes = ($1-debut) / 60;
val = ($2 + $3 + $4 + $5) / 4.0;
print minutes, val;
}