[R] strange plots with type = "h" option

Owen, Jason wowen at richmond.edu
Wed Nov 30 18:14:35 CET 2005


Hello,

With the new version 2.2.0, I get strange plots when using the 
histogram-like option in plot().  For example, a plot of binomial
probabilities:

> plot(0:10,dbinom(0:10,10,.1), type = "h", lwd = 30)

gives me weird fat cirular bars, with mass out at values with low
probability.  What is the issue here?  This never happened with earlier 
versions.

R on Windows XP SP 2
Intel processor

Jason




More information about the R-help mailing list