Browse Source

thinking about dataplotting

master
tth 3 years 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 @@
#!/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;
}

Loading…
Cancel
Save