-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathatoi-over-time.plot
More file actions
40 lines (31 loc) · 955 Bytes
/
atoi-over-time.plot
File metadata and controls
40 lines (31 loc) · 955 Bytes
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
40
# SVG output
set terminal svg size 1920,1080 dynamic font ",24"
# title
set title "atoi function call density" font ",48"
# where's the legend
set key top center
# Identify the axes
set ylabel "Functions calls per KLOC (excl comments)"
set y2label "Total function count"
set y2tics
set style line 1 \
linecolor rgb '#c060ad' \
linetype 1 linewidth 3
set style line 2 \
linecolor rgb '#ff404d' \
linetype 1 dt "_" linewidth 1
set ytics nomirro
set grid
unset border
# time formated using this format
set timefmt "%Y-%m-%d"
set xdata time
set yrange [0:]
load "stats/logo.include"
# set the format of the dates on the x axis
set format x "%Y"
set xtics rotate 3600*24*365.25 nomirror
unset mxtics
set datafile separator ";"
plot ARG1.'/atoi-over-time.csv' using 1:2 with lines linestyle 2 title "(atoi|strtol|strtoul|strtoll) total count" axis x1y2, \
ARG1.'/atoi-per-kloc.csv' using 1:2 with lines linestyle 1 title "call density"