File:ETS-allowance-prices.svg

页面内容不支持其他语言。
這個文件來自維基共享資源
维基百科,自由的百科全书

原始文件(SVG文件,尺寸为720 × 540像素,文件大小:401 KB)


摘要

描述
English: Carbon emission trade allowance prices in all major ETS in € per tCO2
日期
来源 自己的作品
作者 Hedgehoque
SVG开发
InfoField
 
SVG的源代码为有效代码
 
矢量图使用R创作。
源代码
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

许可协议

我,本作品著作权人,特此采用以下许可协议发表本作品:
w:zh:知识共享
署名 相同方式共享
本文件采用知识共享署名-相同方式共享 4.0 国际许可协议授权。
您可以自由地:
  • 共享 – 复制、发行并传播本作品
  • 修改 – 改编作品
惟须遵守下列条件:
  • 署名 – 您必须对作品进行署名,提供授权条款的链接,并说明是否对原始内容进行了更改。您可以用任何合理的方式来署名,但不得以任何方式表明许可人认可您或您的使用。
  • 相同方式共享 – 如果您再混合、转换或者基于本作品进行创作,您必须以与原先许可协议相同或相兼容的许可协议分发您贡献的作品。

说明

添加一行文字以描述该文件所表现的内容
Carbon emission trade - allowance prices since 2008

此文件中描述的项目

描繪內容

某些值没有维基数据项目

文件历史

点击某个日期/时间查看对应时刻的文件。

日期/时间缩⁠略⁠图大小用户备注
当前2023年5月13日 (六) 16:252023年5月13日 (六) 16:25版本的缩略图720 × 540(401 KB)HedgehoqueUpdate 2023-05-13
2021年8月23日 (一) 22:212021年8月23日 (一) 22:21版本的缩略图720 × 540(345 KB)HedgehoqueUploaded own work with UploadWizard

以下3个页面使用本文件:

全域文件用途

以下其他wiki使用此文件:

元数据