-
Notifications
You must be signed in to change notification settings - Fork 7
/
CI-platforms.plot
30 lines (23 loc) · 789 Bytes
/
CI-platforms.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
# SVG output
set terminal svg size 1920,1080 dynamic font ",24"
# title
set title "CI jobs per platform" font ",48"
# where's the legend
set key top left
# Identify the axes
#set xlabel "Time"
set ylabel "Number of jobs"
set grid
unset border
# time formated using this format
set timefmt "%Y-%m-%d"
set xdata time
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 "%b %Y"
set datafile separator ";"
plot 'tmp/CI-platforms.csv' using 1:3 with lines lw 3 title "Linux", \
'tmp/CI-platforms.csv' using 1:4 with lines lw 3 title "macOS", \
'tmp/CI-platforms.csv' using 1:5 with lines lw 3 title "Windows", \
'tmp/CI-platforms.csv' using 1:6 with lines lw 3 title "FreeBSD"