File:Einwohnerentwicklung von Mindelaltheim.svg

Uploaded by Summer ... hier!
Upload date 2017-12-09T00:38:21Z
MIME type image/svg+xml
Dimensions 800 × 400 px
File size 33.5 KB

Summary

Description
Deutsch: Einwohnerentwicklung von Mindelaltheim
Source Own work
Author Summer ... hier!
SVG development
InfoField
 The SVG code is valid.
 This plot was created with gnuplot.

Licensing

Summer ... hier!, the copyright holder of this work, hereby publishes 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.

Gnuplot script to generate this plot

#!/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
set border 3               # Bit 1 (unten) + Bit 2 (links)


# Bereiche/Format/etc X-Achse 
set xdata time
set xlabel 'Jahr'          # Beschr. X-Achse
set xlabel offset 0, 0.75  # Schrift etwas höher
set xrange ['30.06.1808':'30.06.2017']
set xtics '01.01.1000', 60 * 60 * 24 * 365.25 * 25
                           # xtics in Sekunden 
                           # der Beginn der X-Einteilung kann außerhalb xrange
                           # liegen
set xtics offset  0, 0.5   # Beschritung näher an die X-Achse
set mxtics 5               # Skalenstriche 
set xtics nomirror         # Nur unten Skalieren
set format x '%Y'          # Beschriftungsformat JJJJ
set xtics  out             # Skal. aussen damit sich nicht von Grafik 
                           # überschr. wird


# Bereiche/Format/etc Y-Achse
set ylabel 'Einwohnerzahl' offset 2 # Abstand Achse/Label 
set yrange [0:]
set ytics 50
set ytics offset 0.5       # Schrift etwas nach rechts
set ytics nomirror
set decimalsign locale "de_DE.utf8" # Stelle Input und Output auf "," um 
                           # set decimalsign ',' würde nur Output umstellen, 
set format y  "%'.0f"      # Ausgabeformat
set mytics 5
set ytics  out             # Skal. aussen da sie sonst von Grafik 
                           # überschr. wird


# 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 \
  'Einwohnerentwicklung_von_Mindelaltheim.dat' using 1:2 with linespoints linecolor 'dark-blue' linetype 1 linewidth 1.5 pointtype 7 pointsize 0.40 dashtype 3,\
  'Einwohnerentwicklung_von_Mindelaltheim.dat' using 1:3 with linespoints linecolor 'dark-red'  linetype 1 linewidth 1.5 pointtype 7 pointsize 0.40 dashtype 3,\
  'Einwohnerentwicklung_von_Mindelaltheim.dat' using 1:4 with linespoints linecolor 'black'     linetype 1 linewidth 1.5 pointtype 7 pointsize 0.30,\

Daten

Die folgenden Daten bitte in eine Textdatei unter dem Namen .dat abspeichern und ins gleiche Verzeichnis wie das GnuPlot-Script ablegen.

#
# Quelle: 
# https://de.wikipedia.org/wiki/Mindelaltheim#1808_bis_2014
#
#
# 
#    Jahr ;  Riedmühle ; „Kerndorf“ ; 	     Gesamt ;
#         ;     (blaue ;      (rote ;     (schwarze ;
#         ;    Punkte) ;    Punkte) ;        Linie) ;
#         ;            ;            ;               ;
30.06.1808;            ;            ;            171;
30.06.1818;           5;         171;            176;
30.06.1823;            ;            ;            160;
30.06.1830;            ;            ;            153;
30.06.1831;           5;         171;            176;
30.06.1832;            ;            ;            150;
30.06.1839;           5;         185;            190;
30.06.1840;            ;            ;            179;
30.06.1852;            ;            ;            182;
30.06.1855;            ;            ;            154;
30.06.1858;            ;            ;            164;
30.06.1861;            ;            ;            152;
30.06.1863;            ;            ;            166;
30.06.1867;            ;            ;            166;
30.06.1870;            ;            ;            161;
# 
30.06.1871;            ;            ;            194;
30.06.1875;          12;         182;            194;
30.06.1880;            ;            ;            186;
30.06.1883;            ;         186;               ;
30.06.1885;          12;         173;            185;
30.06.1890;            ;            ;            197;
30.06.1895;            ;            ;            201;
30.06.1900;          14;         197;            211;
30.06.1905;            ;            ;            218;
30.06.1910;            ;            ;            218;
30.06.1919;            ;            ;            239;
30.06.1920;            ;            ;            240;
30.06.1925;          18;         211;            229;
30.06.1929;            ;            ;            230;
# 
30.06.1933;            ;            ;            238;
30.06.1939;            ;            ;            230;
30.06.1946;            ;            ;            431;
30.06.1948;            ;            ;            444;
30.06.1950;          27;         405;            432;
30.06.1952;            ;            ;            421;
30.06.1961;          10;         353;            363;
30.06.1965;            ;            ;            336;
30.06.1970;          16;         410;            426;
30.06.1973;            ;            ;            360;
30.06.1978;          16;         410;            426;
30.06.1987;          12;         472;            484;
30.06.1998;            ;            ;            510;
30.06.2014;            ;            ;            550;
30.06.2017;            ;            ;            527;
EOF

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

34,255 byte

image/svg+xml

a1c4734a507b26e8f8b9fdf0362bcc3413a65387