Closed pinetree1 closed 8 years ago
ggMargin is great. But it changes bold main title to plain text, which is not desired.
p <- ggplot(mtcars, aes(x=wt, y=mpg)) + geom_point() + theme_bw() + labs(title="Main Title", y="MPG") + theme(plot.title=element_text(face="bold", size=14), axis.title.y=element_text(face="bold", size=14))
p's main title and y are bold.
ggMarginal(p, margins="y", size=4)
Now main title is changed to plain text. The y title font face is not affected. Can you maintain the font face of main title?
fixed just now, thanks
ggMargin is great. But it changes bold main title to plain text, which is not desired.
p <- ggplot(mtcars, aes(x=wt, y=mpg)) + geom_point() + theme_bw() + labs(title="Main Title", y="MPG") + theme(plot.title=element_text(face="bold", size=14), axis.title.y=element_text(face="bold", size=14))
p's main title and y are bold.
ggMarginal(p, margins="y", size=4)
Now main title is changed to plain text. The y title font face is not affected. Can you maintain the font face of main title?