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

From: Luis Ridao Cruz <Luisr_at_frs.fo>
Date: Sat 11 Feb 2006 - 00:46:29 EST


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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Feb 11 01:03:13 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:27 EST