#!/usr/bin/gnuplot
# gnuplot 4.2 / Ubuntu 8.10
#input
set timefmt "%d.%m.%Y"
set datafile separator ";"
#output
unset key
set style data lines
set style fill transparent solid 0.4
set grid
set xdata time
set xlabel 'Jahr'
set xrange ['01.01.1945':'31.03.2017']
set xtics '01.01.1900', 60 * 60 * 24 * 365.25 * 10
# xtics in Sekunden
# der Beginn der X-Einteilung kann außerhalb xrange
# liegen
set mxtics 4 # Unterteilung
set format x '%Y' # Beschriftungsformat JJJJ
set ylabel 'Einwohnerzahl'
set yrange [500000:*]
set ytics 100000
set decimalsign locale "de_DE.utf8"
set decimal locale "de_DE.utf8"
set format y "%'.0f" # Ausgabeformat
set mytics 5
set term svg size 800,400 font "Arial,10"
set output 'muc_population2.svg'
plot '-' using 1:($2) with filledcurves below x1 lt rgb 'dark-blue' lw 2
01.01.1369;10810
01.01.1396;11267
01.01.1440;9488
01.01.1462;12614
01.01.1500;13447
01.01.1600;18000
01.01.1630;20000
01.01.1700;24000
01.01.1722;29097
01.01.1750;32000
01.01.1771;31000
01.01.1781;37840
01.01.1794;34277
01.01.1801;40450
01.01.1810;40638
01.01.1813;51396
01.01.1824;62290
01.06.1830;71375
03.12.1840;82736
03.12.1843;90055
03.12.1846;94830
03.12.1849;96396
03.12.1852;106715
03.12.1855;132112
03.12.1858;137095
03.12.1861;148201
03.12.1864;167054
03.12.1867;170688
01.12.1871;169693
01.12.1875;193024
01.12.1880;230023
01.12.1885;261981
01.12.1890;349024
02.12.1895;407307
01.12.1900;499932
01.12.1905;538983
01.12.1910;596467
31.12.1913;640000
01.12.1916;594096
05.12.1917;595002
08.10.1919;630711
31.12.1920;666000
16.06.1925;680704
31.12.1930;728900
16.06.1933;735388
31.12.1935;743653
17.05.1939;829318
31.12.1940;834500
08.05.1945;550000
31.12.1945;674154
29.10.1946;751967
31.12.1947;773543
31.12.1948;801500
30.06.1949;814228
30.06.1950;823892
13.09.1950;831937
30.06.1951;855003
30.06.1952;873065
30.06.1953;889843
30.06.1954;908572
30.06.1955;929808
30.06.1956;957177
25.09.1956;962860
30.06.1957;986028
30.06.1958;1011878
30.06.1959;1033854
30.06.1960;1055457
06.06.1961;1085014
31.12.1961;1106298
31.12.1962;1142622
31.12.1963;1166160
31.12.1964;1192614
31.12.1965;1214603
31.12.1966;1235548
31.12.1967;1244237
31.12.1968;1279405
31.12.1969;1326331
27.05.1970;1293590
31.12.1970;1311978
31.12.1971;1338432
31.12.1972;1338924
31.12.1973;1336576
31.12.1974;1323434
31.12.1975;1314865
31.12.1976;1314572
31.12.1977;1313939
31.12.1978;1296970
31.12.1979;1299693
31.12.1980;1298941
31.12.1981;1291828
31.12.1982;1287080
31.12.1983;1283457
31.12.1984;1267451
31.12.1985;1266549
31.12.1986;1274716
25.05.1987;1185421
31.12.1987;1201479
31.12.1988;1211617
31.12.1989;1206683
31.12.1990;1229026
31.12.1991;1229052
31.12.1992;1256638
31.12.1993;1255623
31.12.1994;1244676
31.12.1995;1236370
31.12.1996;1225809
31.12.1997;1205923
31.12.1998;1188897
31.12.1999;1194560
31.12.2000;1210223
31.12.2001;1227958
31.12.2002;1234692
31.12.2003;1247873
31.12.2004;1249176
31.12.2005;1259677
31.12.2006;1294608
31.12.2007;1311573
31.12.2008;1326807
31.12.2009;1330440
31.12.2010;1353186
31.12.2011;1364920
31.12.2012;1388308
31.12.2013;1407836
31.12.2014;1429584
31.12.2015;1450381
31.03.2017;1545105
e