File:Ghg bar chart Turkey.svg

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

Captions

Captions

Grenhouse gas emissions and absorption by Turkey in 2017

Summary

edit
Description
English: Data from National Inventory report. Created with matlab. Vertical lines are error bars
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
import numpy as np
import matplotlib
import matplotlib.pyplot as plt
 
bars =    ('Emissions (mostly fossil fuels)', 'Absorption (mostly forests)')

Total_excluding_LULUCF = 526 # From Executive Summary in National Inventory Report (NIR) on UNFCCC website and rounded to nearest megatonne
LULUCF = -100                # From Table ES3 in NIR Executive Summary rounded to nearest megatonne

height =  (Total_excluding_LULUCF, LULUCF)

LULUCF_error_percent = 51.14 # From NIR Table 6.16 Uncertainty calculation results for the whole LULUCF sector
LULUCF_error         =  LULUCF_error_percent * np.abs(LULUCF)/100

Total_excluding_LULUCF_error_percent = 5.3 # From NIR Introduction 1.6. General Uncertainty Evaluation
Total_excluding_LULUCF_error = Total_excluding_LULUCF_error_percent * Total_excluding_LULUCF/100

errorbars   = (Total_excluding_LULUCF_error, LULUCF_error)

color   = ('grey',  'green')

ax = plt.subplot() # Defines ax variable by creating an empty plot
ax.tick_params(axis="x", labelsize=12)  # Size of the text below
ax.tick_params(axis="y", labelsize=14)  # Size of the numbers on left

y_pos = np.arange(len(bars))# the x locations for the bars
 
plt.bar(y_pos,  height=height, yerr=errorbars, color=color) # Create bars
 
plt.xticks(y_pos, bars) # Create names on the x-axis

plt.ylabel('Megatonnes')

#plt.title ('Greenhouse gases emitted and absorbed in Turkey in 2017')

plt.savefig('ghg_bar_chart_Turkey.svg')

# Show graphic
plt.show()

Licensing

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

File history

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

Date/TimeThumbnailDimensionsUserComment
current08:38, 24 November 2019Thumbnail for version as of 08:38, 24 November 2019576 × 432 (27 KB)Chidgk1 (talk | contribs)increased size of numbers
14:40, 30 October 2019Thumbnail for version as of 14:40, 30 October 2019576 × 432 (33 KB)Chidgk1 (talk | contribs)none
10:15, 30 October 2019Thumbnail for version as of 10:15, 30 October 2019576 × 432 (635 bytes)Chidgk1 (talk | contribs)User created page with UploadWizard

There are no pages that use this file.

Metadata