<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Estou rodando umas PCAs utilizando o R studio no Ubuntu 11, utilizando o pacote vegan pelos seguintes comandos:<br><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: Monospace; font-size: 13px; line-height: 17px; text-align: -webkit-left; white-space: pre-wrap; "><pre tabindex="0" class="G1dpdwhmFL" style="font-family: Monospace;
font-size: 10pt !important; outline-style: none; outline-width: initial; outline-color: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; white-space: pre-wrap !important; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 1.3; "><span class="G1dpdwhmIL ace_keyword" style="white-space: pre; color: blue; ">> </span><span class="G1dpdwhmMK ace_keyword" style="color: blue; ">dados=read.csv2(file.choose(),h=T,row.names=1)
</span><span class="G1dpdwhmIL ace_keyword" style="white-space: pre; color: blue; ">> </span><span class="G1dpdwhmMK ace_keyword" style="color: blue; ">dados=t(dados)
</span><span class="G1dpdwhmIL ace_keyword" style="white-space: pre; color: blue; ">> </span><span class="G1dpdwhmMK ace_keyword" style="color: blue; ">dados=as.data.frame(dados)
</span><span class="G1dpdwhmIL ace_keyword" style="white-space: pre; color: blue; ">> </span><span class="G1dpdwhmMK ace_keyword" style="color: blue; ">dados.pca=rda(dados,scale=TRUE)
</span><span class="G1dpdwhmIL ace_keyword" style="white-space: pre; color: blue; ">> </span><span class="G1dpdwhmMK ace_keyword" style="color: blue;">summary(dados.pca)<br></span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: Monospace; font-size: 13px; line-height: 17px; text-align: -webkit-left; white-space: pre-wrap; "><pre tabindex="0" class="G1dpdwhmFL" style="font-family: Monospace; font-size: 10pt
!important; outline-style: none; outline-width: initial; outline-color: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; white-space: pre-wrap !important; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 1.3; "><span class="G1dpdwhmIL ace_keyword" style="white-space: pre; color: blue; ">> </span><span class="G1dpdwhmMK ace_keyword" style="color: blue; ">simbolos=c(rep(19,7),rep(2,7),rep(3,7))
</span><span class="G1dpdwhmIL ace_keyword" style="white-space: pre; color: blue; ">> </span><span class="G1dpdwhmMK ace_keyword" style="color: blue; ">plot(dados.pca,type="none",xlab="PC1 = 36%",ylab="PC2 = 14%")
</span><span class="G1dpdwhmIL ace_keyword" style="white-space: pre; color: blue; ">> </span><span class="G1dpdwhmMK ace_keyword" style="color: blue; ">points(dados.pca,display="sites",pch=simbolos)
</span><span class="G1dpdwhmIL ace_keyword" style="white-space: pre; color: blue; ">> </span><span class="G1dpdwhmMK ace_keyword" style="color: blue; ">legend("topleft",c("D","Sd","Eg"),pch=c(19,2,3))</span></pre></span></span></pre></span></span>A análise está rodando certinha, mas na hora de exportar a figura não aprece a legenda na figura. Nem exportando como pdf e nem como png.<br>Tem algum comando errado?<br>Muito obrigado.<br><br></td></tr></table>