Baoqiang Cao wrote: > Hi there, > > I really couldn't find out how to plot histogram with point/line instead of > rectangle for each bin? Any help please? Thanks! > This is a guess, but...
y<-hist(rnorm(100,3),plot=FALSE)$counts x<-barplot(y,width=0.01,space=20) points(x,y) Jim ______________________________________________ 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 and provide commented, minimal, self-contained, reproducible code.