[R] superimpose histogram and fitted gamma pdf

2010-01-20 Thread Roslina Zakaria
Hi r-users,   I try to draw histogram (in terms of probabilty) and superimpose with the gamma pdf. Using this code below I can get the plots BUT the y scale for the density is out of scale.  How do I change the y-axis scale to max 1?  Another thing, how I do draw smooth line rather that points?

Re: [R] superimpose histogram and fitted gamma pdf

2010-01-20 Thread Rainer M Krug
On Thu, Jan 21, 2010 at 8:47 AM, Roslina Zakaria zrosl...@yahoo.com wrote: Hi r-users, I try to draw histogram (in terms of probabilty) and superimpose with the gamma pdf. Using this code below I can get the plots BUT the y scale for the density is out of scale. How do I change the y-axis