File:ETS-allowance-prices.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 720 × 540 pixels. Other resolutions: 320 × 240 pixels | 640 × 480 pixels | 1,024 × 768 pixels | 1,280 × 960 pixels | 2,560 × 1,920 pixels.
Original file (SVG file, nominally 720 × 540 pixels, file size: 401 KB)
File information
Structured data
Captions
Summary
[edit]DescriptionETS-allowance-prices.svg |
English: Carbon emission trade allowance prices in all major ETS in € per tCO2 |
Date | |
Source | Own work |
Author | Hedgehoque |
SVG development InfoField | |
Source code InfoField | R code# before running the script:
# obtain price data in .csv format from ICAP allowance price explorer https://icapcarbonaction.com/en/ets-prices and save as icap.csv
# format numbers to "." instead of "," if necessary
# adjust directory
# check if column numbers in matplot and legend are still valid before running the script
fillnan=function(r){
x=0;v=NA;t=ets[,r]
while(x<length(t)) {
x=x 1
if (t[x]>0 | t[x]=='0') {t[x]=v=as.numeric(t[x])}
else {t[x]=v}}
ets[,r]<<-t}
ets=read.csv("c:\\source\\r\\icap.csv", header=TRUE,sep=";");
ets=ets[1184:length(ets[,1]),]
rows=c(3,59,72,85,98,111,20,33,46)
leg=c('EU-ETS','New Zealand','Kazakhstan','South Korea','Switzerland','RGGI (USA)','California','Quebec','Ontario','China max','China min')
chinarows=c(254,257,260,263,266,269,272,275)
for (x in c(rows,chinarows)){fillnan(x)}
svg(filename="ets-carbon-prices.svg", width = 8, height = 6, pointsize = 14, family = "sans", bg = "white", antialias = c("default", "none", "gray", "subpixel"))
par(mar=c(2.7,2.7,1,1) 0.1)
colors=1:11
linetypes=c(1,1,1,1,1,1,1,1,2,2,2)
chinapilots=(ets[,chinarows])
x=0
while (x<length(chinapilots[,1])) {
x=x 1;
a=apply(chinapilots[x,],1,as.numeric)
ets[x,4]=max(a,na.rm=TRUE)
ets[x,5]=min(a,na.rm=TRUE)}
fillnan(4);fillnan(5)
matplot(as.Date(ets[,1],format="%d.%m.%Y"), ets[,c(rows,4:5)],type="l",lwd=2,col=colors,lty=linetypes,main="ETS prices in €/tCO2")
legend("topleft",legend=leg,col=colors,lty=linetypes,cex=0.8)
axis(side=4, tck=0.01, las=0,tick=TRUE,labels = FALSE)
mtext(side=4,cex=0.75, line=0.05,R.version.string)
dev.off()
|
Data imported from https://icapcarbonaction.com/en/ets-prices by ICAP
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following license:
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/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 16:25, 13 May 2023 | 720 × 540 (401 KB) | Hedgehoque (talk | contribs) | Update 2023-05-13 | |
22:21, 23 August 2021 | 720 × 540 (345 KB) | Hedgehoque (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on az.wikipedia.org
- Usage on bg.wikipedia.org
- Usage on bn.wikipedia.org
- Usage on cs.wikipedia.org
- Usage on de.wikipedia.org
- Usage on en.wikipedia.org
- Usage on fr.wikipedia.org
- Usage on ha.wikipedia.org
- Usage on pl.wikipedia.org
- Usage on pt.wikipedia.org
- Usage on vi.wikipedia.org
- Usage on zh.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 576pt |
---|---|
Height | 432pt |