thinking about dataplotting

Este commit está contenido en:
tth 2019-01-16 23:15:20 +01:00
padre 4c984ebdcc
commit 2f2bfa641a
Se han modificado 1 ficheros con 20 adiciones y 0 borrados

20
viz/gnuplot/average4v.awk Archivo ejecutable
Ver fichero

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