okay I'm fucking stuck again.
Edit: Never mind, see edit 3
How the hell to I get an grey line in a plot(...) function to be like 50% transparent?!
I only found solutions for ggplot2 (yeah fuck me for not using gigagayplot2
)
Function is like that:
plot()
lines(a,b,col = "grey")
Edit
lines(a,b,col="grey",alpha = I(1/2))
does not work.
Edit 2
I tried
mycol <- rgb(0, 0, 255, max = 255, alpha = 125, names = "blue50")
And then
plot()
lines(a,b,col = "blue50")
and that doesn't work either (I also tried "lines(a,b,col = "mycol")")
Edit 3
Okay I found an acceptable solution. If I use the col="grey" in the plot() function as an argument, the grey line is the one in the background (isntead of foreground like when I use it in the lines() function) and this way it doesn't look like total crap and I don't need the transparency.