File:Ghg with LULUCF bar chart Turkey.svg

Original file(SVG file, nominally 576 × 432 pixels, file size: 50 KB)

Summary

Description
English: Net greenhouse gas emissions by Turkey by year from 1990
Date
Source Own work
Author Chidgk1
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
Source code
InfoField

Python code

Source code
lang = "en"
#lang = "tr"

import numpy as np
import matplotlib.pyplot as plt
import sys
fig = plt.figure()
 
# Data from https://di.unfccc.int/detailed_data_by_party
# Select Turkey, All Years, Totals, Aggregate GHG, Mt CO2 equivalent
# Cut and paste in here: Total GHG emissions INCLUDING LULUCF
# Older figures are sometimes revised so maybe worth recopying them all occasionally 
# However new data is likely to be released first at https://unfccc.int/ghg-inventories-annex-i-parties/2021
ghg =  [ 163.4, 169.9, 175.9, 184.1, 176.7, 190.2, 209.5, 216.9, 217.7, 213.7, 237.3, 215.7, 213.6, 231.0, 241.3, 262.5, 283.4, 317.0, 318.4, 322.7, 325.2, 350.5, 372.5, 362.5, 380.5, 375.3, 401.8, 423.9, 426.4]
year = ('1990','1991','1992','1993','1994','1995','1996','1997','1998','1999','2000','2001','2002','2003','2004','2005','2006','2007','2008','2009','2010','2011','2012','2013','2014','2015','2016','2017','2018')
y_pos = np.arange(len(year))

# Set font size as default was a bit small to read
fontsize = 14

if lang == "en":
 plt.title ("Greenhouse gases emitted in Turkey (net)", fontsize = fontsize)
 plt.ylabel("Megatonnes")
elif lang == "tr":
 plt.title (" Needs translating",  fontsize = fontsize)
 plt.ylabel("Megatonne")
else:
 print("Unknown language " + lang)
 sys.exit()
 
# Create bars
plt.bar(y_pos, ghg, color="grey")
 
# Create names on the x-axis
plt.xticks(rotation=45)
plt.xticks(y_pos, year)

# Save graphic
plt.savefig('ghg_with_LULUCF_bar_chart_Turkey.svg')
 
# Show graphic
plt.show()

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Net greenhouse gas emissions by Turkey by year

10 April 2020

File history

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

Date/TimeThumbnailDimensionsUserComment
current09:41, 16 May 2020Thumbnail for version as of 09:41, 16 May 2020576 × 432 (50 KB)Chidgk1color to match other graphs and added title
06:35, 1 May 2020Thumbnail for version as of 06:35, 1 May 2020576 × 432 (36 KB)Chidgk12018 added and slight revisions 15 16 17
12:00, 10 April 2020Thumbnail for version as of 12:00, 10 April 2020576 × 432 (35 KB)Chidgk1Uploaded own work with UploadWizard
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Metadata