Re: [R] plotting two histograms on one plot with hist function

2012-06-27 Thread Blignaut, M, Mej mb...@sun.ac.za
,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 mb...@sun.ac.za; r-help@r-project.org Subject: Re: [R] plotting two histograms on one plot with hist function Oh, I had not thought

Re: [R] plotting two histograms on one plot with hist function

2012-06-27 Thread John Kane
-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

[R] plotting two histograms on one plot with hist function

2012-06-26 Thread Blignaut, M, Mej mb...@sun.ac.za
I would like to plot two data sets (frequency (y-axis) of mean values for 0-1(x=axis)) on a single histogram for comparison. The hist() only allow the overlay of two histograms, and although barplot() allows beside=TRUE, it does not show frequency values (like hist) but rather all of the

Re: [R] plotting two histograms on one plot with hist function

2012-06-26 Thread John Kane
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 I

Re: [R] plotting two histograms on one plot with hist function

2012-06-26 Thread ilai
-project.org Subject: [R] plotting two histograms on one plot with hist function I would like to plot two data sets (frequency (y-axis) of mean values for 0-1(x=axis)) on a single histogram for comparison. The hist() only allow the overlay of two histograms, and although barplot() allows beside

Re: [R] plotting two histograms on one plot with hist function

2012-06-26 Thread John Kane
...@sun.ac.za Sent: Tue, 26 Jun 2012 15:24:55 +0200 To: [3]r-help@r-project.org Subject: [R] plotting two histograms on one plot with hist function I would like to plot two data sets (frequency (y-axis) of mean values for 0-1(x=axis)) on a single histogram