Increasing the width of type “h” R plot

后端 未结 1 1509
暗喜
暗喜 2021-01-05 13:19

If I run this simple code:

x <- c(1:10)
y <- c(1:10)
plot(x,y,type=\"h\")

the result contains very thin histogram lines.

相关标签:
1条回答
  • 2021-01-05 14:06

    Try this:

    plot(x,y,type="h", lwd = 4)
    
    0 讨论(0)
提交回复
热议问题