R语言处理数据——ggplot2去掉网格线和背景色

ggplot2去掉网格线和背景色

#ggplot2去掉网格线和背景色
+ theme_bw() +
	theme(panel.grid.major=element_line(colour=NA),
            panel.background = element_rect(fill = "transparent",colour = NA),
            plot.background = element_rect(fill = "transparent",colour = NA),
            panel.grid.minor = element_blank())

你可能感兴趣的:(开源项目,R语言,r语言)