On Jan 10, 2013, at 1:29 PM, Robert Pazur wrote:
> Dear all,
> i would like to plot each value from my datasets as segment with defined
> transparency
> However, I didnt find out how to set the transparency.
> definition by "col=" in par() or segments() doesnt seem to work
> any suggestions?
Try
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 es
Dear all,
i would like to plot each value from my datasets as segment with defined
transparency
However, I didnt find out how to set the transparency.
definition by "col=" in par() or segments() doesnt seem to work
any suggestions?
Thanks in advance.
Kind regards,
Robert Pazur
example code:
xx2 <
3 matches
Mail list logo