ugly patch, need more work

This commit is contained in:
Tonton Th 2025-01-01 16:28:56 +01:00
parent 977baa89f4
commit e02ec90a44

View File

@ -12,12 +12,13 @@ BEGIN { \
mini[foo] = 666; \ mini[foo] = 666; \
maxi[foo] = -42; \ maxi[foo] = -42; \
} \ } \
} \ }
{ \ \
accu[$1] += $2; \ $1=="orbite" { \
count[$1]++; \ accu[$2] += $3; \
if (mini[$1] > $2) mini[$1] = $2; \ count[$2]++; \
if (maxi[$1] < $2) maxi[$1] = $2; \ if (mini[$2] > $3) mini[$2] = $3; \
if (maxi[$2] < $3) maxi[$2] = $3; \
} \ } \
END { \ END { \
for (foo=0; foo<nbrames; foo++) { \ for (foo=0; foo<nbrames; foo++) { \
@ -35,7 +36,7 @@ gnuplot << __EOC__
set output "timing.png" set output "timing.png"
set grid set grid
set xrange [:360] set xrange [:360]
set yrange [:240] set yrange [:30]
set title "HexaCone : temps de tracé vs. numéro de séquence" set title "HexaCone : temps de tracé vs. numéro de séquence"
set xlabel "numéro de la trame" set xlabel "numéro de la trame"
set ylabel "temps en secondes" set ylabel "temps en secondes"