Update helper_stats_graphs.yaml

This commit is contained in:
Alexandre
2023-03-22 14:05:58 +01:00
committed by GitHub
parent 9b1a6bdf5d
commit b521a640c9

View File

@@ -139,7 +139,7 @@ jobs:
}
}' StatsTmp > StatsTmp2 && mv StatsTmp2 StatsTmp
#Normalize data
awk 'FNR==NR{max=($2+0>max)?$2:max;next} {print $1,$2/max}' StatsTmp StatsTmp
#awk 'FNR==NR{max=($2+0>max)?$2:max;next} {print $1,$2/max}' StatsTmp StatsTmp
# Plot graph
( gnuplot-nox -persist <<-EOFMarker
set title "$TITLE"
@@ -150,7 +150,7 @@ jobs:
set format x "%y-%m-%d"
set datafile sep ' '
set autoscale
set terminal png size 500,300
set terminal png size 500,150
set output "stats.png"
set term png tiny
plot for [i=2:*] 'StatsTmp' using 1:i w l title columnhead(i) smooth bezier
@@ -164,7 +164,7 @@ jobs:
set format x "%y-%m-%d"
set datafile sep ' '
set autoscale
set terminal png size 500,300
set terminal png size 500,150
set output "stats.png"
set term png tiny
plot for [i=2:*] 'StatsTmp' using 1:i w l title columnhead(i)