Zur Beschreibungsseite auf Commons

Datei:Japan Electricity Production 1980-2014.svg

aus Wikipedia, der freien Enzyklopädie
Zur Navigation springen Zur Suche springen

Originaldatei(SVG-Datei, Basisgröße: 719 × 438 Pixel, Dateigröße: 55 KB)

Diese Datei und die Informationen unter dem roten Trennstrich werden aus dem zentralen Medienarchiv Wikimedia Commons eingebunden.

Zur Beschreibungsseite auf Commons


Beschreibung

Beschreibung
English: A line graph showing Japan's energy production by type, per year, for 1980-2014. Data drawn from the Energy Information Association.
Datum
Quelle Eigenes Werk
Urheber Douglas Perkins


The SVG file was produced using MatPlotLib with the following (also Public Domain) code.

#!/usr/bin/env python

from matplotlib import pyplot
from matplotlib import ticker
from matplotlib import numpy

# This generates a line graph showing the Japan's electricity production.
# Data from the EIA.  1980-2014.
#
# https://commons.wikimedia.org/wiki/File:Electricity_Production_in_Japan.svg
# https://tinyurl.com/eiajapan
# 
#
# This file was written by Douglas Perkins.
# It is released under a Creative Commons Zero 1.0 license.
#
# https://creativecommons.org/publicdomain/zero/1.0/

nuclear = [
(1980, 79),
(1981, 83),
(1982, 95),
(1983, 105),
(1984, 127),
(1985, 150),
(1986, 159),
(1987, 189),
(1988, 174),
(1989, 175),
(1990, 192),
(1991, 203),
(1992, 212),
(1993, 237),
(1994, 256),
(1995, 277),
(1996, 287),
(1997, 306),
(1998, 316),
(1999, 301),
(2000, 306),
(2001, 304),
(2002, 280),
(2003, 228),
(2004, 268),
(2005, 281),
(2006, 292),
(2007, 267),
(2008, 241),
(2009, 263),
(2010, 280),
(2011, 156),
(2012, 17),
(2013, 14),
(2014, 0),
]

non_hydro_renewable = [
(1980, 1.1),
(1981, 0.8),
(1982, 9.7),
(1983, 11),
(1984, 12),
(1985, 13),
(1986, 14),
(1987, 15),
(1988, 16),
(1989, 17),
(1990, 12),
(1991, 13),
(1992, 13),
(1993, 13),
(1994, 14),
(1995, 16),
(1996, 17),
(1997, 19),
(1998, 19),
(1999, 19),
(2000, 19),
(2001, 19),
(2002, 21),
(2003, 23),
(2004, 24),
(2005, 29),
(2006, 29),
(2007, 31),
(2008, 27),
(2009, 27),
(2010, 41),
(2011, 43),
(2012, 56),
(2013, 55),
(2014, 68),
]

hydro = [
(1980, 88),
(1981, 87),
(1982, 81),
(1983, 83),
(1984, 73),
(1985, 82),
(1986, 80),
(1987, 74),
(1988, 90),
(1989, 91),
(1990, 88),
(1991, 97),
(1992, 82),
(1993, 95),
(1994, 67),
(1995, 81),
(1996, 80),
(1997, 89),
(1998, 92),
(1999, 86),
(2000, 86),
(2001, 83),
(2002, 82),
(2003, 94),
(2004, 93),
(2005, 76),
(2006, 87),
(2007, 73),
(2008, 76),
(2009, 76),
(2010, 81),
(2011, 82),
(2012, 75),
(2013, 77),
(2014, 81)
]

fossil_fuels = [
(1980, 382),
(1981, 378),
(1982, 368),
(1983, 388),
(1984, 408),
(1985, 395),
(1986, 393),
(1987, 420),
(1988, 449),
(1989, 484),
(1990, 524),
(1991, 533),
(1992, 546),
(1993, 517),
(1994, 580),
(1995, 568),
(1996, 577),
(1997, 578),
(1998, 571),
(1999, 596),
(2000, 583),
(2001, 570),
(2002, 611),
(2003, 640),
(2004, 627),
(2005, 639),
(2006, 634),
(2007, 711),
(2008, 668),
(2009, 616),
(2010, 685),
(2011, 795),
(2012, 863),
(2013, 862),
(2014, 833),
]

years = [d[0] for d in nuclear]
p_nuclear = [d[1] for d in nuclear]
p_non_hydro_renewable = [d[1] for d in non_hydro_renewable]
p_hydro = [d[1] for d in hydro]
p_fossil_fuels = [d[1] for d in fossil_fuels]

# Make a line graph.
linewidth = 2.0
pyplot.figure(num=1, figsize=(9,5))
pyplot.plot(years, p_fossil_fuels, label="coal & natural gas", linewidth=linewidth)
pyplot.plot(years, p_nuclear, label="nuclear", linewidth=linewidth)
pyplot.plot(years, p_hydro, label="hydroelectric", linewidth=linewidth)
pyplot.plot(years, p_non_hydro_renewable, label="renewable (except hydro)", linewidth=linewidth)
pyplot.title('Japan Electricity Production')
pyplot.ylabel('Electricity (TWh)')
pyplot.xlabel('Year')
pyplot.legend(loc=0, prop={'size':12})
pyplot.subplot(111).grid(b=True, axis='both')
pyplot.savefig('Japan Electricity Production 1980-2014.svg', format='svg', bbox_inches='tight')

Lizenz

Ich, der Urheber dieses Werkes, veröffentliche es unter der folgenden Lizenz:
Creative Commons CC-Zero Diese Datei wird unter der Creative-Commons-Lizenz „CC0 1.0 Verzicht auf das Copyright“ zur Verfügung gestellt.
Die Person, die das Werk mit diesem Dokument verbunden hat, übergibt dieses weltweit der Gemeinfreiheit, indem sie alle Urheberrechte und damit verbundenen weiteren Rechte – im Rahmen der jeweils geltenden gesetzlichen Bestimmungen – aufgibt. Das Werk kann – selbst für kommerzielle Zwecke – kopiert, modifiziert und weiterverteilt werden, ohne hierfür um Erlaubnis bitten zu müssen.

Kurzbeschreibungen

Ergänze eine einzeilige Erklärung, was diese Datei darstellt.

In dieser Datei abgebildete Objekte

Motiv

image/svg+xml

Dateiversionen

Klicke auf einen Zeitpunkt, um diese Version zu laden.

Version vomVorschaubildMaßeBenutzerKommentar
aktuell14:53, 20. Nov. 2016Vorschaubild der Version vom 14:53, 20. Nov. 2016719 × 438 (55 KB)DouglaspperkinsUser created page with UploadWizard

Die folgende Seite verwendet diese Datei:

Metadaten