File:Anzahl der Hungernden weltweit ab 2000.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file (SVG file, nominally 800 × 400 pixels, file size: 23 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description Hunger in der Welt
Date
Source http://www.fao.org/state-of-food-security-nutrition/en/
Author Summer ... hier!
SVG development
InfoField
 
The SVG code is valid.
 
This chart was created with Gnuplot.
 
 This plot uses embedded text that can be easily translated using a text editor.
Source code
InfoField

Gnuplot code

#!/usr/bin/gnuplot
# gnuplot 


# Daten per Here-Document
# (siehe Abschntt 'Inline data and datablocks' in
# http://www.gnuplot.info/docs_5.2/Gnuplot_5.2.pdf )
#
$my_HD_1 << EndOfData_1
#
# Quelle: Graph in 
# http://www.fao.org/state-of-food-security-nutrition/en/
#
#
# Spalte 1: Jahr 
# Spalte 2: Absolute Anzahl der Hungernden weltweit 
# Spalte 3: Prozentualer Anteil  der hungernden an der steigenden Weltbevölkerung
#
#
2000 ; 900,0 ; 14,7
2001 ; 917,5 ; 14,8
2002 ; 936,3 ; 14,9
2003 ; 947,2 ; 14,9
2004 ; 941,7 ; 14,6
2005 ; 926,0 ; 14,2
2006 ; 890,9 ; 13,5
2007 ; 854,5 ; 12,8
2008 ; 831,8 ; 12,3
2009 ; 814,7 ; 11,9
2010 ; 794,6 ; 11,5
2011 ; 782,1 ; 11,2
2012 ; 779,3 ; 11,0
2013 ; 775,4 ; 10,8
2014 ; 775,4 ; 10,7
2015 ; 777,0 ; 10,6
2016 ; 815,0 ; 11,0
# EOF
EndOfData_1


# Allgemeines zu den Eingabedaten
set timefmt "%Y"           # Zeitangaben in 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 11              # Bit 1 (unten)   Bit 2 (links)   Bit 8 (rechts)


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


# Bereiche/Format/etc Y-Achse
set ylabel      'Zahl der Hungernden weltweit in Mio.' textcolor 'dark-blue'
set yrange      [400:1000]
set ytics       100 textcolor 'dark-blue'
set decimalsign locale "de_DE.utf8"
set decimal     locale "de_DE.utf8"
set format      y  "%'.0f"  # Ausgabeformat
set mytics      5
set ytics nomirror


# Bereiche/Format/etc zweite Y-Achse
set y2label 'Anteil der Hungernden an der Weltbevölkerung in %' textcolor 'dark-red'
set y2range     [10:16]
set y2tics      1 textcolor 'dark-red'
set format      y2  "%'.0f"  # Ausgabeformat
set my2tics     2


# 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 \
  $my_HD_1 using 1:($2) axes x1y1 with linespoints lc 'dark-blue' lt 1 lw 2 pt 7 ps 0.5,\
  $my_HD_1 using 1:($3) axes x1y2 with linespoints lc 'dark-red'  lt 1 lw 2 pt 7 ps 0.5


Licensing

[edit]
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.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current19:45, 19 January 2018Thumbnail for version as of 19:45, 19 January 2018800 × 400 (23 KB)Summer ... hier! (talk | contribs)etwas größere Schrift
13:35, 25 September 2017Thumbnail for version as of 13:35, 25 September 2017800 × 400 (23 KB)Summer ... hier! (talk | contribs)unbeschrifteter Rand oben weg (hebt beschriftete Ränder hervor)
00:34, 18 September 2017Thumbnail for version as of 00:34, 18 September 2017800 × 400 (23 KB)Summer ... hier! (talk | contribs)farbige Achsenbeschriftung
10:40, 17 September 2017Thumbnail for version as of 10:40, 17 September 2017800 × 400 (23 KB)Summer ... hier! (talk | contribs){{Information |Description = Hunger in der Welt |Source = http://www.fao.org/state-of-food-security-nutrition/en/ |Author = ~~~~ |Date = 2017 }} == {{int:license-header}} == {{self|Cc-zero}} == Gnuplot script to generate...

There are no pages that use this file.

File usage on other wikis

Metadata