Skip to content
Prev 315042 / 398506 Next

transparency in segments()

Hello,

You can use ?rgb to set the transparency level. As an example, with 
alpha = 0.5

clr <- c(rgb(1, 0, 0, 0.5), rgb(0, 0, 1, 0.5))
plot(0:1, 0:1, col = clr[1], lwd = 10, type = "l")
lines(0:1, 1:0, col = clr[2], lwd = 10)


Hope this helps,

Rui Barradas
Em 10-01-2013 21:29, Robert Pazur escreveu: