Re: [R] Histograms: Lines and boxes

2009-01-14 Thread Marc Schwartz
on 01/14/2009 11:53 AM Kerpel, John wrote: > Hi folks! I'm trying to get a histogram legend to give me a filled box > and a line. The problem is I keep getting both filled boxes and a line. > How can I get rid of the second box from the code below? > > > > x<-rnorm(1000,mean=0,sd=1) > >

[R] Histograms: Lines and boxes

2009-01-14 Thread Kerpel, John
Hi folks! I'm trying to get a histogram legend to give me a filled box and a line. The problem is I keep getting both filled boxes and a line. How can I get rid of the second box from the code below? x<-rnorm(1000,mean=0,sd=1) hist(x, breaks = 50, main="Histogram of x",freq=FALSE, xla