1
0
Fork 0

thinking about dataplotting

Esse commit está contido em:
tth 2019-01-16 23:15:20 +01:00
commit 2f2bfa641a
1 arquivos alterados com 20 adições e 0 exclusões

20
viz/gnuplot/average4v.awk Executable file
Ver arquivo

@ -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;
}