File:Einwohnerentwicklung von Königstein (Sächsische Schweiz).svg

Summary

Description
Deutsch: Einwohnerentwicklung von Königstein_(Sächsische_Schweiz)
Source Own work
Author Summer ... hier! (talk)

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Category:CC-Zero#Einwohnerentwicklung%20von%20Königstein%20(Sächsische%20Schweiz).svg
Category:Self-published work

Gnuplot script to generate this plot

 
This plot was created with Gnuplot by v.
Category:Valid SVG created with Gnuplot#Einwohnerentwicklung%20von%20Königstein%20(Sächsische%20Schweiz).svg
#!/usr/bin/gnuplot
# gnuplot 


# Allgemeines zu den Eingabedaten
set timefmt "%d.%m.%Y"     # Zeitangaben in TT.MM.YYYY
set datafile separator ";" # Spaltenseparator 


# Allgemeines zur Ausgabe
unset key
set style data lines
set style fill transparent solid 0.4
set grid


# Bereiche/Format/etc X-Achse 
set xdata time
set xlabel 'Jahr'
set xrange ['01.01.1300':'31.12.2013']
set xtics '01.01.1300', 60 * 60 * 24 * 365.25 * 50
                      #  xtics in Sekunden 
                      # der Beginn der X-Einteilung kann außerhalb xrange
                      # liegen
set mxtics 5
set format x '%Y'     # Beschriftungsformat JJJJ


# Bereiche/Format/etc Y-Achse
set ylabel 'Einwohnerzahl'
set yrange [0:]
set ytics 500
set decimalsign locale "de_DE.utf8"
set decimal     locale "de_DE.utf8"
set format y  "%'.0f"  # Ausgabeformat
set mytics 5


# Ausgabeformat: Wir erzeugen SVG
# Die Ausgabedaten leiten wir in eine Pipe und sind so bei Namen der
# Ausgabedatei flexibel (Aufruf: Progname.plt > Ausgabe-svg)
set term svg size 800,400 font "Arial,14"
# keine "set output '<Dateiname>'" Angabe


# Erzeugen der Ausgabe 
plot '-' using 1:($2) with filledcurves below x1 lt rgb 'dark-blue' lw 2,\


# Quelle:
https://de.wikipedia.org/wiki/K%C3%B6nigstein_(S%C3%A4chsische_Schweiz)#Entwicklung_der_Einwohnerzahl
30.06.1300;250
30.06.1445;200
30.06.1501;240
30.06.1550;341
30.06.1779;667
30.06.1794;946
30.06.1801;1077
30.06.1815;1364
30.06.1834;1673
30.06.1900;4274
#
30.06.1946;5139
31.12.1990;3625
31.12.1998;3256
31.12.2005;2847
31.12.2006;2822
31.12.2007;2676
31.12.2008;2398
31.12.2009;2341
31.12.2010;2284
31.12.2012;2231
31.12.2013;2166
EOF
Category:Königstein (Sächsische Schweiz)
Category:CC-Zero Category:Königstein (Sächsische Schweiz) Category:Self-published work Category:Valid SVG created with Gnuplot