Domanda

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.

È stato utile?

Soluzione

No, it is not possible in R graphics devices.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top