The increase in the width of the plot "h" R

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.

my plot

Is there a way to make these lines thicker (other than using the hist () function itself)? They don't have to look like bars, just a little thicker.

+5
source share
1 answer

Try the following:

 plot(x,y,type="h", lwd = 4) 
+5
source

All Articles