[R] plot(...., type = "h", lwd = 10) results in square tops

Luis Ridao Cruz Luisr at frs.fo
Fri Feb 10 14:46:29 CET 2006


R-help,

I'm using the following code:

plot(1985:2005, data, type = "h", lwd = 10) 

which should plot histogram like figure.
The bar tops are square and I was wondering if
it is intended to be so or not (I can of course
use barplot instead).


Thanks




More information about the R-help mailing list