문제

Right now, when I produce a scatter plot with transparency in R, it looks like, when two points stack, each with transparency alpha, the cell gets transparency min(1, 2*alpha). Instead, I'd like it to get transparency 1 - (1 - alpha)^2, in order to preserve differentiation between cells with really high density without having a really low transparency. I know there are other solutions for a scatter plot, but I'm really interested in doing this for stacking bootstrapped geom_smoother lines, with which I don't know how else to solve the problem.

도움이 되었습니까?

해결책

No, it is not possible in R graphics devices.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top