Last active
January 17, 2018 20:30
-
-
Save baptiste/f06578674f46d98ee35bb529dd22d954 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(egg) | |
l <- list(list(data=mtcars, mapping=aes(mpg, wt)), | |
geom_path(), | |
aes(col=wt), | |
labs(title="Title"), | |
facet_wrap(~carb)) | |
pl <- Reduce("+", l, init=ggplot(), accumulate = TRUE) | |
ggarrange(plots = pl, | |
labels = letters[seq_along(pl)], | |
label.args = list(gp = grid::gpar(font=4, cex = 1.2))) |
Author
baptiste
commented
Jan 17, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment