[R] Basic plot density question
gunter.berton at gene.com
Wed Jun 18 17:09:56 CEST 2014
Try reading the docs!
... and note the xllim and ylim arguments.
Have you read "An Introduction to R" or some other R tutorial. If not,
you should do so before posting further.
Genentech Nonclinical Biostatistics
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
On Wed, Jun 18, 2014 at 7:48 AM, Brian Smith <bsmith030465 at gmail.com> wrote:
> I wanted to plot two different density profiles. My code looks like:
> x1 <- rnorm(100,mean=0,sd=1)
> x2 <- rnorm(100,mean=1,sd=1)
> However, the x-axis values don't match up for the two plots. Is there a way
> I can fix the axis so that the two plots are comparable? Similarly for the
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help