File:NZ coal consumption 1878 2009.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 564 × 361 pixels, file size: 14 KB)

Summary

Description
English: New Zealand's consumption of coal (megatonnes) from 1878 to 2009
Date
Source Own work Data: Source: New Zealand Government Ministry of Economic Development Energy Data File 2009. URL https://spreadsheets.google.com/ccc?key=0AsLhMBA3NXL4dHFMNWxwdllSQWI5TU42RE9kcmNrMWc&hl=en_GB
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

c <- read.table("edfcoal.txt", skip=2,header=TRUE, sep="\t", na.strings="NA", dec=".", strip.white=TRUE)

str(c)
'data.frame':   132 obs. of  5 variables:
 $ year          : int  1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 ...
 $ Bituminous    : num  NA NA NA NA NA ...
 $ Sub.Bituminous: num  NA NA NA NA NA ...
 $ Lignite       : num  NA NA NA NA NA ...
 $ Total         : num  164821 234928 304736 342674 384342 ...

attach(c)

t<-c(Total/1000000)

b<-c(Bituminous/1000000)

s<-c(Sub.Bituminous/1000000)

l<-c(Lignite/1000000)

summary(t)
  Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
 0.1648  1.8730  2.3390  2.2840  2.7160  5.7680 

library("RSVGTipsDevice")

devSVGTips(file="nzcoal1878-2009.svg",toolTipMode=0,width=7.8,height=5)

plot(year,t,type="l",col=2,lwd=2,ylim=c(0,6),ylab="Megatonnes",xlab="Year",main="New Zealand's Coal Consumption 1878 - 2009")

mtext(side=3,line=-2.0,cex=1,"Source: Ministry of Economic Development Energy Data File 2009")

lines(year,b,col=4,lwd=2)

lines(year,s,col=3,lwd=2)

lines(year,l,col=5,lwd=2)

legend(1880,5.2,bty = "n",c("Total Coal","Bituminous","Sub Bituminous","Lignite"),lty = 1,lwd=2,col=c(2,3,4,5))

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

5 January 2011

image/svg+xml

File history

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

Date/TimeThumbnailDimensionsUserComment
current05:28, 5 February 2011Thumbnail for version as of 05:28, 5 February 2011564 × 361 (14 KB)Mrfebruary{{Information |Description ={{en|1=New Zealand's consumption of coal (megatonnes) from 1878 to 2009}} |Source ={{own}} |Author =Mrfebruary |Date =2011-01-05 |Permission = |other_versions = }} [[Categor
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file:

Metadata