-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path90-percent.plot
39 lines (30 loc) · 941 Bytes
/
90-percent.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 "Number of persons authoring 90% of the commits" font ",48"
# where's the legend
set key top left
# Identify the axes
#set xlabel "Years"
set ylabel "Number of authors"
unset border
# for the boxes
set boxwidth 0.9 relative
set style fill solid
set grid ytics
set ytics nomirror
# time formated using this format
set timefmt "%Y-%m-%d"
set xdata time
set xtics rotate 3600*24*365.25 nomirror in
unset mxtics
set xrange ["1999-06-01":]
set yrange [0:]
set pixmap 1 "stats/curl-symbol-light.png"
set pixmap 1 at screen 0.35, 0.30 width screen 0.30 behind
# set the format of the dates on the x axis
set format x "%Y"
set datafile separator ";"
plot 'tmp/90-percent.csv' using 1:2 with boxes title "", \
'tmp/90-percent.csv' using 1:3 with lines title "5-year average" lw 4, \
'tmp/90-percent.csv' using 1:4 with lines title "All-time average" lw 4