Hi,
Perhaps:
par(mfrow=c(2,2))
hist(as.numeric(as.character(B[,1])),col="lightblue",
border="pink")
hist(as.numeric(as.character(A[,1])),col="yellow",
border="pink")
or
hist(as.numeric(as.character(B[,1])),col="lightblue",
border="pink")
par(new=T)
hist(as.numeric(as.character(A[,1])),col="yellow",
border="pink")
On 07/11/2007, elyakhlifi mustapha <elyakhlifi_mustapha@yahoo.fr>
wrote:>
> Hello,
> I can plot histogrammes but I want to know how can I do to plot 2
> histogrammes at the same time (in the same window).
> hist(as.numeric(as.character(B[,1])),col="lightblue",
border="pink")
> hist(as.numeric(as.character(A[,1])),col="yellow",
border="pink")
> thanks.
>
>
>
>
_____________________________________________________________________________
>
> l
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O
[[alternative HTML version deleted]]