forked from weltliteratur/fontane
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontemporaries.gpi
69 lines (60 loc) · 2.34 KB
/
contemporaries.gpi
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
reset
set datafile separator "\t"
set encoding utf8
FONT="Arial,9"
LFONT="Arial,13"
set grid lt 1 lw .5 lc rgb "#dddddd"
set xtics nomirror
set boxwidth 0.5
set style fill solid
#set xtics rotate by 45 right
set ylabel font LFONT "Fontanes Zeitgenossen" offset screen .05
set lmargin at screen 0.25
set xlabel font LFONT 'Zeichenanzahl'
set term png enhanced size 800,600 font FONT lw 2
set out "contemporaries_textlen.png"
plot "< sort -t'\t' -nk2 contemporaries.tsv" using 2:0:ytic(1) title '' with p pt 7
set term svg size 640,480 dynamic enhanced font FONT lw 2
set out "contemporaries_textlen.svg"
replot
set xlabel font LFONT 'Anzahl Bearbeiter'
set term png enhanced size 800,600 font FONT lw 2
set out "contemporaries_contributors.png"
plot "< sort -t'\t' -nk3 contemporaries.tsv" using 3:0:ytic(1) title '' with p pt 7
set term svg size 640,480 dynamic enhanced font FONT lw 2
set out "contemporaries_contributors.svg"
replot
set xlabel font LFONT 'Anzahl Überarbeitungen'
set term png enhanced size 800,600 font FONT lw 2
set out "contemporaries_revisions.png"
plot "< sort -t'\t' -nk4 contemporaries.tsv" using 4:0:ytic(1) title '' with p pt 7
set term svg size 640,480 dynamic enhanced font FONT lw 2
set out "contemporaries_revisions.svg"
replot
set xlabel font LFONT 'Anzahl Backlinks'
set term png enhanced size 800,600 font FONT lw 2
set out "contemporaries_backlinks.png"
plot "< sort -t'\t' -nk9 contemporaries.tsv" using 9:0:ytic(1) title '' with p pt 7
set term svg size 640,480 dynamic enhanced font FONT lw 2
set out "contemporaries_backlinks.svg"
replot
set xlabel font LFONT 'Anzahl Sprachversionen'
set term png enhanced size 800,600 font FONT lw 2
set out "contemporaries_languages.png"
# add one to include the current language edition
plot "< sort -t'\t' -nk7 contemporaries.tsv" using ($7+1):0:ytic(1) title '' with p pt 7
set term svg size 640,480 dynamic enhanced font FONT lw 2
set out "contemporaries_languages.svg"
replot
set xlabel font LFONT 'Jahr der Erstellung der Seite'
set xdata time
# 2002-05-13T13:59:54Z
set timefmt '%Y-%m-%dT%H:%M:%SZ'
set format x '%Y'
set term png enhanced size 800,600 font FONT lw 2
set out "contemporaries_firstrev.png"
plot "< sort -t'\t' -rk11 contemporaries.tsv" using 11:0:ytic(1) title '' with p pt 7
set term svg size 640,480 dynamic enhanced font FONT lw 2
set out "contemporaries_firstrev.svg"
replot
set output