diff options
author | W. Kosior <koszko@koszko.org> | 2025-09-19 12:47:44 +0200 |
---|---|---|
committer | W. Kosior <koszko@koszko.org> | 2025-09-19 13:09:45 +0200 |
commit | 7000b1f2bb2fca5b7707c9b1a9f58f43100212d3 (patch) | |
tree | cc5531b93b8e76c39e3c58d52574f68e86c3f05e /status-counts.gnuplot | |
download | AGH-msc-thesis-magister.tar.gz AGH-msc-thesis-magister.zip |
Diffstat (limited to 'status-counts.gnuplot')
-rwxr-xr-x | status-counts.gnuplot | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/status-counts.gnuplot b/status-counts.gnuplot new file mode 100755 index 0000000..ecab141 --- /dev/null +++ b/status-counts.gnuplot @@ -0,0 +1,29 @@ +#!/usr/bin/env gnuplot + +## SPDX-License-Identifier: CC0-1.0 +## +## Copyright (C) 2025 Woj. Kosior <koszko@koszko.org> + +set terminal svg size 800,500 font "DejaVu,sans,14.5"; +set output "status-counts.svg"; +#set title "Automated hermetized rebuild of top npm Registry packages"; +set ylabel "Package count"; +set datafile separator ","; +set boxwidth 0.5; +set style fill solid border -1; +set key noautotitle; +set xtics rotate by 30 right scale 0; +set bmargin 7; +set lmargin 11; +set rmargin 3.5; +set linetype 1 linecolor rgb "0x555555"; +set style data boxes; + +stats "status-counts.csv" using "ID" nooutput; + +set xrange [STATS_min-0.75:STATS_max+0.75]; + +plot "status-counts.csv" \ + using "ID":"COUNT":xtic(stringcolumn("CATEGORY")), \ + "" \ + using "ID":(column("COUNT") + 3):"COUNT" with labels; |