Remove borders from bars in histogram in R

前端 未结 1 1383
名媛妹妹
名媛妹妹 2021-01-17 12:02

How can I remove the borders around bars in R, so that only the fill remains?

Instead of this:

\"enter

相关标签:
1条回答
  • 2021-01-17 12:46

    You can set this parameter as an extra option for hist, as lty="blank":

    hist(rnorm(100), lty="blank", col="hotpink")
    
    0 讨论(0)
提交回复
热议问题