Use o plot como tipo de barras e depois use lines para as temperaturas.<div><br></div><div>att,</div><div>Guilherme<br><br><div class="gmail_quote">Em 18 de maio de 2012 13:20, Marcelo Claro de Souza <span dir="ltr"><<a href="mailto:marcelo_claro@yahoo.com.br" target="_blank">marcelo_claro@yahoo.com.br</a>></span> escreveu:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:10pt;font-family:arial,helvetica,sans-serif"><div><span>Algém poderia me explicar como plotar um gráfico de precipitação e temperatura no mesmo frame, sendo a precipitação representada por barras e as temp max min e média como linhas.</span></div>
<div><span>Meu conjunto de dados está organizado da suinte forma:</span></div><div><br><span></span></div><div>
</div><table border="0" cellspacing="0" cols="5">
<colgroup width="49"></colgroup>
<colgroup span="3" width="45"></colgroup>
<colgroup width="51"></colgroup>
<tbody><tr>
<td align="LEFT" height="17">month</td>
<td align="LEFT">tmax</td>
<td align="LEFT">tmin</td>
<td align="LEFT">tmed</td>
<td align="LEFT">rainfall</td>
</tr>
<tr>
<td align="LEFT" height="16">Jan</td>
<td align="RIGHT">30,21</td>
<td align="RIGHT">16,82</td>
<td align="RIGHT">23,51</td>
<td align="RIGHT">17,54</td>
</tr>
<tr>
<td align="LEFT" height="17">Feb</td>
<td align="RIGHT">30,71</td>
<td align="RIGHT">16,36</td>
<td align="RIGHT">23,53</td>
<td align="RIGHT">7,68</td>
</tr>
<tr>
<td align="LEFT" height="16">Mar</td>
<td align="RIGHT">27,23</td>
<td align="RIGHT">15,91</td>
<td align="RIGHT">21,57</td>
<td align="RIGHT">9,87</td>
</tr>
<tr>
<td align="LEFT" height="17">Apr</td>
<td align="RIGHT">28,23</td>
<td align="RIGHT">15,80</td>
<td align="RIGHT">22,02</td>
<td align="RIGHT">5,45</td>
</tr>
<tr>
<td align="LEFT" height="17">May</td>
<td align="RIGHT">25,19</td>
<td align="RIGHT">11,57</td>
<td align="RIGHT">18,38</td>
<td align="RIGHT">0,15</td>
</tr>
<tr>
<td align="LEFT" height="16">Jun</td>
<td align="RIGHT">24,39</td>
<td align="RIGHT">9,07</td>
<td align="RIGHT">16,73</td>
<td align="RIGHT">1,61</td>
</tr>
<tr>
<td align="LEFT" height="16">Jul</td>
<td align="RIGHT">26,59</td>
<td align="RIGHT">13,07</td>
<td align="RIGHT">19,83</td>
<td align="RIGHT">0,01</td>
</tr>
<tr>
<td align="LEFT" height="17">Aug</td>
<td align="RIGHT">28,39</td>
<td align="RIGHT">12,65</td>
<td align="RIGHT">20,52</td>
<td align="RIGHT">0,33</td>
</tr>
<tr>
<td align="LEFT" height="17">Sep</td>
<td align="RIGHT">29,77</td>
<td align="RIGHT">12,98</td>
<td align="RIGHT">21,38</td>
<td align="RIGHT">1,53</td>
</tr>
<tr>
<td align="LEFT" height="17">Oct</td>
<td align="RIGHT">28,49</td>
<td align="RIGHT">15,47</td>
<td align="RIGHT">21,98</td>
<td align="RIGHT">4,85</td>
</tr>
<tr>
<td align="LEFT" height="16">Nov</td>
<td align="RIGHT">28,61</td>
<td align="RIGHT">16,21</td>
<td align="RIGHT">22,41</td>
<td align="RIGHT">3,77</td>
</tr>
<tr>
<td align="LEFT" height="17">Dec</td>
<td align="RIGHT">29,79</td>
<td align="RIGHT">17,26</td>
<td align="RIGHT">23,53</td>
<td align="RIGHT">9,35</td>
</tr>
</tbody></table>
<div><br><span></span></div><div><span>Muito obrigado pela ajuda.</span></div><div><span>Abraço.<span class="HOEnZb"><font color="#888888"><br></font></span></span></div><span class="HOEnZb"><font color="#888888"><div><span><br>
</span></div><div> </div><div style="text-align:left"><font style="font-family:times new roman,new york,times,serif;font-style:italic" size="4"><span style="color:rgb(0,0,255)">Marcelo Claro de Souza</span></font><br></div>
<div><font size="1">Biologist, PhD student in Plant Biology<br>Institute of Bioscience - UNESP, Brazil<br><br></font><span style="font-size:10pt"></span> </div></font></span></div></div><br>_______________________________________________<br>
R-br mailing list<br>
<a href="mailto:R-br@listas.c3sl.ufpr.br">R-br@listas.c3sl.ufpr.br</a><br>
<a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" 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" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça código mínimo reproduzível.<br></blockquote></div><br></div>