Update helper_stats_graphs.yaml

This commit is contained in:
Alexandre
2023-07-16 17:42:44 +02:00
committed by GitHub
parent f1e55a1731
commit 48f3b8d195

View File

@@ -64,7 +64,7 @@ jobs:
# Remove series with less than 4 points # Remove series with less than 4 points
sed -i "/^[0-9|-]* [0-9*|-]* [0-9*|-]* -/d" Stats3 sed -i "/^[0-9|-]* [0-9*|-]* [0-9*|-]* -/d" Stats3
# Plot graph # Plot graph
( gnuplot-nox -persist <<-EOFMarker ( gnuplot -persist <<-EOFMarker
set title 'Top 10 addons' set title 'Top 10 addons'
set ylabel 'Number of installations' set ylabel 'Number of installations'
set xdata time set xdata time
@@ -78,7 +78,7 @@ jobs:
set term png tiny set term png tiny
plot for [i=2:*] 'Stats3' using 1:i w l title columnhead(i) smooth bezier plot for [i=2:*] 'Stats3' using 1:i w l title columnhead(i) smooth bezier
EOFMarker EOFMarker
) || ( gnuplot-nox -persist <<-EOFMarker ) || ( gnuplot -persist <<-EOFMarker
set title 'Top 10 addons' set title 'Top 10 addons'
set ylabel 'Number of installations' set ylabel 'Number of installations'
set xdata time set xdata time
@@ -139,7 +139,7 @@ jobs:
#Normalize data #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 # Plot graph
( gnuplot-nox -persist <<-EOFMarker ( gnuplot -persist <<-EOFMarker
set title "$TITLE" set title "$TITLE"
set ylabel 'Number of installations' set ylabel 'Number of installations'
set xdata time set xdata time
@@ -153,7 +153,7 @@ jobs:
set term png tiny set term png tiny
plot for [i=2:*] 'StatsTmp' using 1:i w l title columnhead(i) smooth bezier plot for [i=2:*] 'StatsTmp' using 1:i w l title columnhead(i) smooth bezier
EOFMarker EOFMarker
) || ( gnuplot-nox -persist <<-EOFMarker ) || ( gnuplot -persist <<-EOFMarker
set title "$TITLE" set title "$TITLE"
set ylabel 'Number of installations' set ylabel 'Number of installations'
set xdata time set xdata time
@@ -203,7 +203,7 @@ jobs:
cd .github || true cd .github || true
sed -i "1d" Stats3 sed -i "1d" Stats3
# Plot graph # Plot graph
gnuplot-nox -persist <<-EOFMarker gnuplot -persist <<-EOFMarker
set title 'Total addons' set title 'Total addons'
set ylabel 'Number of installations' set ylabel 'Number of installations'
set xdata time set xdata time