File:New Zealand ObservedElectricityConsumptionSector.png
New_Zealand_ObservedElectricityConsumptionSector.png (650 × 550 pixels, file size: 7 KB, MIME type: image/png)
Captions
Summary
[edit]DescriptionNew Zealand ObservedElectricityConsumptionSector.png |
English: New Zealand Observed Electricity Consumption by Sector 1974 to 2009 |
Date | |
Source | Own work New Zealand Government Ministry of Economic Development Energy Data File 2010 http://www.med.govt.nz/upload/73585/EDF-2010-Data-Tables.zip data subset worksheet G5a https://spreadsheets.google.com/ccc?key=0AsLhMBA3NXL4dDZFWnh2VlBlVUxCNHJTeWRxU1FuSnc&hl=en_GB |
Author | Mrfebruary |
Other versions |
|
R script
[edit]Assuming you have downloaded "edfg5a.csv" to your working directory, the script for the chart is
a <- read.csv("edfg5a.csv", skip = 0,header=TRUE, sep=",", na.strings="-", dec=".", strip.white=TRUE)
png(file="nzega5.png",pointsize = 16,width=650,height=550)
par(las=1)
plot(a$Year,a$Industrial/1000,type="l",col=2,lwd=2,ylim=c(0,16),ylab="Terawatt hours",xlim=c(1974,2008),xlab="Year",main="NZ Observed Electricity Consumption by Sector")
lines(a$Year,a$AgForestyFishing/1000,col=3,lwd=2)
lines(a$Year,a$Residential/1000,col=4,lwd=2)
lines(a$Year,a$CommercialTransport/1000,col=5,lwd=2)
legend(1975,16.5, bty = "n",c("Industrial","Residential","Commercial/Transport","Ag/Foresty/Fishing"),lty = 1,lwd=2,col=c(2,4,5,3))
mtext(side=3,line=0.3,cex=0.9,"Source: Ministry of Economic Development Energy Data File 2009")
box(lwd=2)
dev.off()
Licensing
[edit]- 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.
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.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 06:49, 8 April 2011 | 650 × 550 (7 KB) | Mrfebruary (talk | contribs) | {{Information |Description ={{en|1=New Zealand Observed Electricity Consumption by Sector 1974 to 2009 }} |Source ={{own}} |Author =Mrfebruary |Date =2011-04-08 |Permission = |other_versions = }} ==R sc |
You cannot overwrite this file.
File usage on Commons
The following page uses this file: