[R-br] Definir o "par" para uma legenda externa

Leandro Marino leandromarino em leandromarino.com.br
Quinta Maio 23 11:39:51 BRT 2013


Só melhoraria um pouco a dica do Rodrigo...

layout(matrix(c(1:4,5,5), 2),widths=c(40,40,20))

for (i in 1:4) {
 plot(rnorm(10^i), col=i, pch=12)
}
plot(1, type='n', axes=F, xlab='', ylab='')
legend('center', paste0('10^', 1:4), col=1:4, pch=12)




Em 23 de maio de 2013 11:02, Rodrigo Coster <rcoster em gmail.com> escreveu:

> layout(matrix(c(1:4,5,5), 2))
>
> for (i in 1:4) {
>  plot(rnorm(10^i), col=i, pch=12)
> }
> plot(1, type='n', axes=F, xlab='', ylab='')
> legend('center', paste0('10^', 1:4), col=1:4, pch=12)
>
>


  <http://www.showmetech.com.br>

*LEANDRO MARINO* | Showmetech
Estatístico | Fotógrafo
Mobile: 55 21 9845-7707
Email: contato em leandromarino.com.br
Profiles SMT: facebook <http://www.facebook.com/showmetech> |
twitter<http://www.twitter.com/showmetech>
 | Google+ <https://plus.google.com/115440786884851522659>

<http://www.leandromarino.com.br>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://listas.inf.ufpr.br/pipermail/r-br/attachments/20130523/5b724f34/attachment.html>


Mais detalhes sobre a lista de discussão R-br