-
Notifications
You must be signed in to change notification settings - Fork 9
/
cve-fixtime.plot
39 lines (32 loc) · 1.05 KB
/
cve-fixtime.plot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# SVG output
set terminal svg size 1920,1080 dynamic font ",24"
# title
set title "Time from security report to shipped fix" font ",48"
# where's the legend
set key top right
# Identify the axes
set ylabel "Number of days"
set grid
unset xtics
set ytics 10 nomirror
unset border
set bmargin 4.0
# for the boxes
set boxwidth 0.8
set style fill solid
set style line 1 \
linecolor rgb '#c08040' \
linetype 1 linewidth 5
set style line 2 \
linecolor rgb '#80a040' \
linetype 1 linewidth 5
set style line 3 \
linecolor rgb '#FF0040' \
linetype 1 linewidth 2
set pixmap 1 "stats/curl-symbol-light.png"
set pixmap 1 at screen 0.35, 0.30 width screen 0.30 behind
set datafile separator ";"
plot 'tmp/cve-fixtime.csv' using 5:3 with boxes title 'Individual flaw' lc "#c0c0ff", \
'tmp/cve-fixtime.csv' using 5:6 with lines title 'All-time average' linestyle 3, \
'tmp/cve-fixtime.csv' using 5:4 with lines title '12-month average' linestyle 2
# 'tmp/cve-fixtime.csv' using 5:-1:1 with labels right offset 0.1,-0.1 font ", 6" rotate by 90 title '', \