mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update weekly_stats.yaml
This commit is contained in:
2
.github/workflows/weekly_stats.yaml
vendored
2
.github/workflows/weekly_stats.yaml
vendored
@@ -111,8 +111,8 @@ jobs:
|
|||||||
gawk -i inplace '{for(i=NF;i>1;i--)printf "%s ",$i;printf "%s",$1;print ""}' Stats3
|
gawk -i inplace '{for(i=NF;i>1;i--)printf "%s ",$i;printf "%s",$1;print ""}' Stats3
|
||||||
echo "$(head -n 2 Stats3)" > Stats3
|
echo "$(head -n 2 Stats3)" > Stats3
|
||||||
sudo apt-get install gnuplot -y
|
sudo apt-get install gnuplot -y
|
||||||
N="$(awk 'NR==1 {print NF}' Stats3)"
|
|
||||||
gnuplot -persist <<-EOFMarker
|
gnuplot -persist <<-EOFMarker
|
||||||
|
N="$(awk 'NR==1 {print NF}' Stats3)"
|
||||||
plot for [i=2:N] "Stats3" u 1:i
|
plot for [i=2:N] "Stats3" u 1:i
|
||||||
set term png
|
set term png
|
||||||
set output "stats.png"
|
set output "stats.png"
|
||||||
|
|||||||
Reference in New Issue
Block a user