liujiaxin2018

 

1、

p<-ggplot(mtcars,aes(mpg,hp,colour=factor(cyl)))+geom_point()
p

 

 

 

 2、去除背景色

p + theme_bw()

 

 

3、去除网格线

p + theme_bw() + theme(panel.grid=element_blank())

 

分类:

技术点:

相关文章:

  • 2021-08-09
  • 2021-11-28
  • 2022-12-23
  • 2021-07-27
  • 2022-12-23
  • 2021-07-13
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-25
  • 2021-12-23
  • 2022-01-12
  • 2021-11-30
  • 2022-12-23
相关资源
相似解决方案