Re: [R] How to plot stacked histogram in R?

2012-05-07 Thread ONKELINX, Thierry
Tukey -Oorspronkelijk bericht- Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Namens Manish Gupta Verzonden: maandag 7 mei 2012 6:32 Aan: r-help@r-project.org Onderwerp: Re: [R] How to plot stacked histogram in R? HI, Below is third example. # here we want the full

Re: [R] How to plot stacked histogram in R?

2012-05-07 Thread Jim Lemon
On 05/07/2012 02:31 PM, Manish Gupta wrote: HI, Below is third example. # here we want the full scale from zero to one color.legend(2,6,4,6.4,legend=c(100% guys,100% girls), rect.col=color.scale(seq(0,1,by=0.25),c(0.2,1),c(0.2,0.4),c(1,0.4))) par(mar=c(5,4,4,2)) # use barp to display a

Re: [R] How to plot stacked histogram in R?

2012-05-06 Thread Manish Gupta
:4) But it does not produce the plot that i need. Can u pls suggest me how to use it to get stacked histogram for two series. Regards -- View this message in context: http://r.789695.n4.nabble.com/How-to-plot-stacked-histogram-in-R-tp4602369p4614043.html Sent from the R help mailing list

[R] How to plot stacked histogram in R?

2012-05-02 Thread Manish Gupta
Hi, I am working on data analysis. I need to plot stacked histogram for two Files. File1: 1 2 3 3 4 4 File2: 4 5 6 6 7 7 7 How can i plot them on same graph? Thanks -- View this message in context: http://r.789695.n4.nabble.com/How-to-plot-stacked-histogram-in-R-tp4602369.html Sent from

Re: [R] How to plot stacked histogram in R?

2012-05-02 Thread Jim Lemon
On 05/02/2012 02:58 PM, Manish Gupta wrote: Hi, I am working on data analysis. I need to plot stacked histogram for two Files. File1: 1 2 3 3 4 4 File2: 4 5 6 6 7 7 7 How can i plot them on same graph? Hi Manish, Have a look at the third example for the barp function (plotrix). Jim