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.
Is there a way to make these lines thicker (other than using the hist() function itself)? They do not necessarily have to look like bars, just be a little thicker.
Try this:
plot(x,y,type="h", lwd = 4)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With