Hi list,
Does any one know how I can make the red colour transparant?
#########################
par()
#Set up blank plot to remove plot border type lty="n"
xvalue1<- c(1,2,2,1)
xvalue2<- c(1,3,3,1)
yvalue1<- c(0,0,22,22)
yvalue2<- c(0,0,44,44)
plot(c(min(xvalue2),max(xvalue2)),c(min(yvalue2),max(yvalue2)),type="n",xaxt="n",yaxt="n",xlab="",ylab="Loss
in £m",yaxs="i",xaxs="r")
polygon(xvalue2,yvalue2,col="#A8B50A",border="#A8B50A")
polygon(xvalue1,yvalue1,col="#9E4770",border="#9E4770")
#########################
regards,
Alireza
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.