Description Usage See Also Examples
This will override the alpha transparency for fill
and colour
used on plot legends.
1 |
guide_legend
Other graphics: luminance
1 2 3 4 5 6 | dat <- data.frame(y=rnorm(100),
x=seq(-2,2, length.out=100),
z=sample(letters[1:2], 100, replace=TRUE))
p1 <- ggplot(dat, aes(x=x,y=y))+geom_point(alpha=0.25, aes(color=z))+
alpha_override()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.