alpha_override: Override transparency in legend

Description Usage See Also Examples

View source: R/plotting.R

Description

This will override the alpha transparency for fill and colour used on plot legends.

Usage

1

See Also

guide_legend

Other graphics: luminance

Examples

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()

iamamutt/mejr documentation built on May 18, 2019, 1:27 a.m.