diff options
Diffstat (limited to 'reporting/graphs')
-rw-r--r-- | reporting/graphs/statistics.gpi | 38 | ||||
-rw-r--r-- | reporting/graphs/tags.gpi | 35 |
2 files changed, 73 insertions, 0 deletions
diff --git a/reporting/graphs/statistics.gpi b/reporting/graphs/statistics.gpi new file mode 100644 index 0000000..7e59a21 --- /dev/null +++ b/reporting/graphs/statistics.gpi @@ -0,0 +1,38 @@ +# set terminal png truecolor small size 600,300 +set terminal svg size 640,375 font "Sans,11" + +set style line 10 linetype 1 linecolor rgb "#FF6700" lw 1.5 +set style line 11 linetype 1 linecolor rgb "#FFEB44" lw 1.5 +set style line 12 linetype 1 linecolor rgb "#C7EA3C" lw 1.5 +set style line 13 linetype 1 linecolor rgb "#E7F6AC" lw 1.5 +set style line 14 linetype 1 linecolor rgb "#EE99EE" lw 1.5 +set style line 15 linetype 1 linecolor rgb "#CCCCCC" lw 1.5 + +set key outside + +set xdata time +set timefmt "%s" +set format x "%b/%y" + +set size 1.0,0.80 +set origin 0.0,0.05 + +set nomxtics +set xtics nomirror scale 0.5,0 rotate by 55 offset -3.2,-2.7 +set ytics nomirror scale 0.5,0 +set offsets 0,0,500,0 + +load "common.gpi" + +set xrange [ date_min : date_max ] +set yrange [ 0 : ] + +set output sprintf("%s/statistics.svg", graph_dir) +plot sprintf("%s/statistics.dat", history_dir) \ + u 1:7 w l ls 10 t 'Errors', \ + '' u 1:8 w l ls 11 t 'Warnings', \ + '' u 1:9 w l ls 12 t 'Info', \ + '' u 1:11 w l ls 13 t 'Pedantic', \ + '' u 1:10 w l ls 14 t 'Experimental', \ + '' u 1:12 w l ls 15 t 'Overridden' + diff --git a/reporting/graphs/tags.gpi b/reporting/graphs/tags.gpi new file mode 100644 index 0000000..16ef73c --- /dev/null +++ b/reporting/graphs/tags.gpi @@ -0,0 +1,35 @@ +tag=sprintf("%s", ARG1) +# set terminal png truecolor small size 600,300 +set terminal svg size 640,375 font "Sans,11" + +set style fill solid 0.25 + +set style line 20 linetype 1 linecolor rgb "#1A77C9" +set style line 21 linetype 1 linecolor rgb "#83CDBE" +set style line 22 linetype 1 linecolor rgb "#BBBBBB" + +set key outside + +set xdata time +set timefmt "%s" +set format x "%b/%y" + +set size 1.0,0.80 +set origin 0.0,0.05 + +set nomxtics +set xtics nomirror scale 0.5,0 rotate by 55 offset -3.2,-2.7 +set ytics nomirror scale 0.5,0 +set offsets 0,0,1,0 + +load "common.gpi" + +set xrange [ date_min : date_max ] +set yrange [ 0 : ] + +set output sprintf("%s/tags/%s.svg", graph_dir, tag) +plot sprintf("%s/tags/%s.dat", history_dir, tag) \ + u 1:2 w filledcurve x1 ls 20 t sprintf("Tag %s emitted", tag), \ + '' u 1:4 w filledcurve x1 ls 21 t sprintf("Packages which emitted %s", tag), \ + '' u 1:3 w filledcurve x1 ls 22 t sprintf("Tag %s overridden", tag) + |