-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
label_size in ggarrange() ? #38
Comments
see pull request #39 |
Hi, as the argument New arguments in Examples: library(ggpubr)
data("ToothGrowth")
df <- ToothGrowth
df$dose <- as.factor(df$dose)
# Create some plots
# ::::::::::::::::::::::::::::::::::::::::::::::::::
bxp <- ggboxplot(df, x = "dose", y = "len",
color = "dose", palette = "jco")
dp <- ggdotplot(df, x = "dose", y = "len",
color = "dose", palette = "jco")
dens <- ggdensity(df, x = "len", fill = "dose", palette = "jco")
# Arrange
# ::::::::::::::::::::::::::::::::::::::::::::::::::
ggarrange(bxp, dp, dens, ncol = 2, nrow = 2,
labels = c("A", "B", "C"),
font.label = list(size = 16, color = "red")) |
Nice. It really works |
Hi, I'm beginner with R and I'm learning for my thesis data analysis (and fancy custom presentation of results), I want to know how can i center the graphic labels, because it looks on the y axis at the boxplot. I'm using this code: UPDATE: what's wrong? |
In
cowplot
theplot.grid()
function has thelabel_size
option to change the size of labels?Could this be implemented in
ggarrange()
too?The text was updated successfully, but these errors were encountered: