<div dir="ltr">Caro Éder, funcionou, vou adaptar pro meu material.<div><br></div><div>Mais uma vez, grato</div><div><br></div><div>Hélio</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-14 11:50 GMT-03:00 Eder Comunello [via R-br] <span dir="ltr"><<a href="mailto:ml-node+s2285057n4661908h16@n4.nabble.com" target="_blank">ml-node+s2285057n4661908h16@n4.nabble.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hélio, bom dia!</div><div><br></div><div>Da forma que você está procedendo, dá pra utilizar o argumento 'xpd' em par(). A ideia é 'liberar' o uso do espaço entre figuras.</div><div><br>
</div>
<div>Complementarmente, tem a alternativa de usar a biblioteca sp() pra colocar o norte nos mapas e 'locator()' pra posicionar diretamente!</div><div><br></div><div><font face="courier new, monospace"><code r></font></div>
<div><font face="courier new, monospace">nURL1 <- '<a href="http://pixabay.com/static/uploads/photo/2013/07/12/13/43/arrows-147170_150.png" rel="nofollow" link="external" target="_blank">http://pixabay.com/static/uploads/photo/2013/07/12/13/43/arrows-147170_150.png</a>'<br>
</font></div><div><font face="courier new, monospace">download.file(nURL1, 'rosaVentos.png', mode='wb')</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">require(geoR)</font></div>
<div><font face="courier new, monospace">plot(parana$bor, asp=1, type='l')</font></div><div><font face="courier new, monospace"><br></font></div><div><span style="font-family:'courier new',monospace">img <- png::readPNG('rosaVentos.png')</span><br>
</div><div><font face="courier new, monospace"># locator(1) ### use para ajustar as coordenadas</font></div><div><font face="courier new, monospace">rasterImage(img, xleft=800, xright=900, ytop=450, ybottom=350)</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">par(mfrow=c(1,2), xpd=T)</font></div><div><font face="courier new, monospace">for (i in 1:2) plot(parana$bor, asp=1, type='l', col=i)</font></div>
<div><font face="courier new, monospace"># locator(1) ### use para ajustar as coordenadas</font></div><div><font face="courier new, monospace">rasterImage(img, xleft=-300, xright=-100, ytop=600, ybottom=400)</font></div>
<div>
<font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">### Norte e barra de escala da biblioteca sp()</font></div><div><font face="courier new, monospace">### Posicionamento por locator()</font></div>
<div><font face="courier new, monospace">SpatialPolygonsRescale(layout.north.arrow(),offset=locator(1),scale=200,fill=c("black"),plot.grid=F)</font></div><div><font face="courier new, monospace">SpatialPolygonsRescale(layout.scale.bar(),offset=locator(1),scale=100,fill=c("white","black"),plot.grid=F)</font></div>
<div><font face="courier new, monospace">text(locator(1),"0")</font></div><div><font face="courier new, monospace">text(locator(1),"100 unid.")</font></div><div><font face="courier new, monospace">### </code></font></div>
<div class="gmail_extra"><br clear="all"><div><div dir="ltr">Éder Comunello <<a href="http://user/SendEmail.jtp?type=node&node=4661908&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a><a href="http://user/SendEmail.jtp?type=node&node=4661908&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>> <br>
Dourados, MS - [22 16.5'S, 54 49'W]<br></div></div>
<br><br></div></div><div class="">
<br>_______________________________________________
<br>R-br mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=4661908&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" rel="nofollow" link="external" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" rel="nofollow" link="external" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça código mínimo reproduzível.
<br>
<br>
<hr noshade size="1" color="#cccccc">
</div><div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
</div><a href="http://r-br.2285057.n4.nabble.com/Re-R-br-figura-tp4661902p4661908.html" target="_blank">http://r-br.2285057.n4.nabble.com/Re-R-br-figura-tp4661902p4661908.html</a>
</div><div class="HOEnZb"><div class="h5">
<div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from R-br, <a href="http://r-br.2285057.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3357982&code=aGVsaW9nYWxsb3JvY2hhQGdtYWlsLmNvbXwzMzU3OTgyfC0xMzQ3NTkwMDY4" target="_blank">click here</a>.<br>
<a href="http://r-br.2285057.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank">NAML</a>
</div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Hélio Gallo Rocha<br>IFSULDEMINAS - Câmpus Muzambinho<br>
</div>