Jump to content

File:New Zealand co2 percapita compared.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 506 × 434 pixels, file size: 10 KB)

Summary

Description
English: New Zealand Carbon Dioxide emissions per capita 1971-2007 compared to United Kingdom, Europe, World average, Africa and China
Date
Source Own work data from CO2 Emissions from Fuel Combustion (2009 Edition), IEA, Paris, http://www.iea.org/co2highlights/co2highlights.xls subset of data used https://spreadsheets.google.com/ccc?key=0AsLhMBA3NXL4dDJYaW5qRzlkYUxCaTRKSTU2VUNtWEE&hl=en_GB pop2.csv
Author Mrfebruary
SVG development
InfoField
 
The SVG code is valid.
 
This chart was created with R.
 
 This file uses embedded text that can be easily translated using a text editor.
Source code
InfoField

R code

# Download data from https://spreadsheets.google.com/ccc?key=0AsLhMBA3NXL4dDJYaW5qRzlkYUxCaTRKSTU2VUNtWEE&hl
# Save to working directory as a comma separated values (csv) format named "pop2.csv"
# read pop2.csv file into your R working directory as a dataframe
p <- read.csv("pop2.csv",skip=0,header=FALSE, sep = ",",dec=".",na.strings =NaN)
str(p)
'data.frame':   16 obs. of  37 variables:
 $ V1 : num  0.72 10.92 15.46 0.95 8.63 ...
years<-c(1971:2007)
str(years) int [1:37] 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 ...
uk<-c(p[14,])
uk<-c(p[14,])
nz<-c(p[10,])
af<-c(p[1,])
eu<-c(p[5,])
wo<-c(p[16,])
prc<-c(p[4,])
png(file="NZco2percap.png",pointsize = 16,width=650,height=550)
plot(years,uk,type="l",col=4,lwd=2,ylim=c(0,12),ylab="",xlab="Year",main="")
title(ylab = expression(paste(CO[2]," tonnes per capita")))
title(main = expression(paste("New Zealand per capita ", CO[2]," emissions comparisons")))
mtext(side=3,line=0.25,"vs UK, Europe, World, China, Africa")
lines(years,nz,type="l",col=1,lwd=3)
lines(years,eu,type="l",col=3,lwd=2)
lines(years,prc,type="l",col=2,lwd=2)
lines(years,af,type="l",col=5,lwd=2)
lines(years,wo,type="l",col=6,lwd=2)
text(1997,9.8,"United Kingdom",adj=0,col=1)
text(1997,6.5,"New Zealand",adj=0,col=1)
text(1971,8,"Europe",adj=0,col=1)
text(1997,4.8,"World Average",adj=0,col=1)
text(1997,3,"China",adj=0,col=1)
text(1997,1.3,"Africa",adj=0,col=1)
mtext(side=1,cex=0.8,line=-1.3,"CO2 Emissions from Fuel Combustion (2009 Edition), IEA, Paris")
dev.off()

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported 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.
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
You may select the license of your choice.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

7 February 2011

image/svg+xml

File history

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

Date/TimeThumbnailDimensionsUserComment
current07:28, 7 February 2011Thumbnail for version as of 07:28, 7 February 2011506 × 434 (10 KB)Mrfebruary{{Information |Description ={{en|1=New Zealand Carbon Dioxide emissions per capita 1971-2007 compared to United Kingdom, Europe, World average, Africa and China}} |Source ={{own}} data from CO2 Emissions from Fuel Combustion (2009 Edition), IEA

The following page uses this file:

Metadata