Pergunta

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.

Foi útil?

Solução

No, it is not possible in R graphics devices.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top