ggplot2 plot without axes, legends, etc

后端 未结 8 1423
执念已碎
执念已碎 2020-11-28 18:23

I want to use bioconductor\'s hexbin (which I can do) to generate a plot that fills the entire (png) display region - no axes, no labels, no background, no nuthin\'.

8条回答
  •  悲&欢浪女
    2020-11-28 18:29

    'opts' is deprecated.
    

    in ggplot2 >= 0.9.2 use

    p + theme(legend.position = "none") 
    

提交回复
热议问题