Re: [R] Plotting coloured histograms...

2003-01-27 Thread kjetil brinchmann halvorsen
On 25 Jan 2003 at 22:21, Fernando Henrique Ferraz Pereira da Rosa wrote: Hola! Maybe this may be of help: > x <- rnorm(100,2,2) > y <- rnorm(200, 4,3) > hist(x) > hist(y, add=TRUE) > # which gives a confusing result. Better is: > hist(x, freq=FALSE) > hist(y, add=TRUE, freq=FALSE) > # But it is

Re: [R] Plotting coloured histograms...

2003-01-26 Thread Damon Wischik
> Hi, I am having some trouble trying to plot a histogram in more than one > colour. What I want to do is, plot two vectors in the same histogram, but > with different colours, for instance: >> x <- rnorm(1000,20,4); >> y <- rnorm(1000,10,2); > Then I'd like to have x and y plo

Re: [R] Plotting coloured histograms...

2003-01-25 Thread Remigijus Lapinskas
Try the H. Bengtsson's function plot.histogram from http://www.maths.lth.se/matstat/staff/hb/mypackages/R/plot.histogram.R Remigijus Saturday, January 25, 2003, 10:21:30 PM, you wrote: FHFPdR>Hi, I am having some trouble trying to plot a histogram in more than one FHFPdR> colour. What I wan

[R] Plotting coloured histograms...

2003-01-25 Thread Fernando Henrique Ferraz Pereira da Rosa
Hi, I am having some trouble trying to plot a histogram in more than one colour. What I want to do is, plot two vectors in the same histogram, but with different colours, for instance: > x <- rnorm(1000,20,4); > y <- rnorm(1000,10,2); Then I'd like to have x and y ploted on the