[R] sub-plot in a plot

Henrique Dallazuanna wwwhsd at gmail.com
Mon Jan 28 18:45:01 CET 2008


See 'fig' argument in ?par

example:
x <- rnorm(100)
plot(x)
par(fig=c(2/3,1,2/3,1), new=T)
hist(x, main="")


On 28/01/2008, lamack lamack <lamac_k at hotmail.com> wrote:
>
>
>
>
> From: lamac_k at hotmail.comTo: r-help-request at r-project.orgSubject: sub-plot in a plotDate: Mon, 28 Jan 2008 15:43:40 +0000
>
>
> Dear all, how can I do these sub-plots in a plot (see file attached) in R. Best regards.
>
> Receba GRÁTIS as mensagens do Messenger no seu celular quando você estiver offline. Conheça o MSN Mobile! Crie já o seu!
> _________________________________________________________________
>
> [[elided Hotmail spam]]
>
>
> ______________________________________________
> R-help at 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



More information about the R-help mailing list