scale_colour_Publication() 和 theme_Publication() 功能需要加载的包
install.packages("devtools")
library(devtools)
install_github("DavidGarciaCallejas/DGC")
theme_publish() 功能需要加载的包
install.packages("envalysis")
require(envalysis)
example
p <- ggplot(mtcars) + geom_point(aes(x = wt, y = mpg,
colour=factor(gear))) + facet_wrap( ~ am)
美化后
p + theme_publish() + ggsave('theme_publish.png', dpi = 96)
p + scale_colour_Publication() + theme_Publication()