-Original Message-
From: mb...@sun.ac.za
Sent: Wed, 27 Jun 2012 08:32:24 +0200
To: jrkrid...@inbox.com, ke...@math.montana.edu
Subject: RE: [R] plotting two histograms on one plot with hist function
Thank you for all the advice! After mailing the question, I actually
legend("topleft", c("Dataset 1","Data set 2"), cex=0.6,bty="n",
fill=c("Red","Green"))
Thanks again for the help!
From: John Kane [mailto:jrkrid...@inbox.com]
Sent: 26 June 2012 23:27
To: ilai
Cc: Blignaut, M, Mej ; r-help@r-pr
Oh, I had not thought of it in those terms. It does make sense now.
John Kane
Kingston ON Canada
-Original Message-
From: ke...@math.montana.edu
Sent: Tue, 26 Jun 2012 10:57:31 -0600
To: jrkrid...@inbox.com
Subject: Re: [R] plotting two histograms on one plot
On Tue, Jun 26, 2012 at 10:02 AM, John Kane wrote:
> Why not just plot the two histograms on the same scale in a 2 panel plot?
>
I think OP request was "for comparison". Two panels may do, but why not a
barplot of the histograms in the same panel ?
barplot( rbind(
hist(rbeta(30,2,4),breaks=seq(
Why not just plot the two histograms on the same scale in a 2 panel plot?
John Kane
Kingston ON Canada
> -Original Message-
> From: mb...@sun.ac.za
> Sent: Tue, 26 Jun 2012 15:24:55 +0200
> To: r-help@r-project.org
> Subject: [R] plotting two histograms on one plot with hist function
>
5 matches
Mail list logo