<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">
      <div><font face="Courier New, Courier, monospace"><br>
        </font></div>
      <div><font face="Courier New, Courier, monospace"># talvez usando
          *matplot* simplifica um pouco tb</font></div>
      <div><font face="Courier New, Courier, monospace"><br>
        </font></div>
      <div><font face="Courier New, Courier, monospace"> # com a flag
          xaxt='n', retira os rótulos dos eixos<br>
        </font></div>
      <div><font face="Courier New, Courier, monospace"><br>
        </font></div>
      <div><font face="Courier New, Courier, monospace">estacao =
          as.factor(c("Outono","Inverno","Primavera","Verão"))</font></div>
      <div><font face="Courier New, Courier, monospace">x = 1:4<br>
        </font></div>
      <div><font face="Courier New, Courier, monospace">y1 = rnorm(4,
          3,1)</font></div>
      <div><font face="Courier New, Courier, monospace">y2 = rnorm(4, 3,
          1)</font></div>
      <div><font face="Courier New, Courier, monospace">y3 = rnorm(4, 4,
          1.5)</font></div>
      <div><font face="Courier New, Courier, monospace">y4 = rnorm(4,
          3.5, 1)</font></div>
      <div><font face="Courier New, Courier, monospace"><br>
        </font></div>
      <div><font face="Courier New, Courier, monospace">d <-
          data.frame( y1, y2, y3, y4 )<br>
        </font></div>
      <font face="Courier New, Courier, monospace"><br>
      </font></div>
    <div class="moz-cite-prefix"><font face="Courier New, Courier,
        monospace">matplot( d, lwd=1,type='b', xlab = 'Estação',ylab
        ="ETo (mm/d)",ylim=c(0,6),  xaxt='n', pch=19 ) <br>
        <br>
      </font>
      <div><font face="Courier New, Courier, monospace">axis(1, at=1:4,
          labels=estacao )</font></div>
      <div><font face="Courier New, Courier, monospace"><br>
        </font></div>
      <font face="Courier New, Courier, monospace">################  com
        a flag *las* rotaciona as labels<br>
      </font></div>
    <div class="moz-cite-prefix"><font face="Courier New, Courier,
        monospace">axis(1, at=1:4, labels=estacao, las=2)</font></div>
    <div class="moz-cite-prefix"><font face="Courier New, Courier,
        monospace"><br>
      </font></div>
    <div class="moz-cite-prefix"><font face="Courier New, Courier,
        monospace"><br>
      </font></div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Em 19/02/2019 17:23, Marcus Nunes por
      (R-br) escreveu:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+QGQvsQ2Vfcpkw03ExHFea1qKCj3vkSo0Zs8dQ6X6iMzvpR6w@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">Se entendi corretamente o problema, use
            <div><br>
            </div>
            <div>axis(1, at=1:4, labels=estacao)</div>
            <div><br>
            </div>
            <div>Este foi o resultado que obtive: <a
                href="https://imgur.com/a/RohP2ni"
                moz-do-not-send="true">https://imgur.com/a/RohP2ni</a><br
                clear="all">
              <div>
                <div dir="ltr" class="gmail_signature">
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div dir="ltr">
                              <div dir="ltr">
                                <div dir="ltr">
                                  <div dir="ltr">--</div>
                                  <div dir="ltr">
                                    <div dir="ltr">Marcus Nunes</div>
                                  </div>
                                  <br>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Tue, Feb 19, 2019 at 5:15
          PM Maurício Lordêlo por (R-br) <<a
            href="mailto:r-br@listas.c3sl.ufpr.br"
            moz-do-not-send="true">r-br@listas.c3sl.ufpr.br</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">
                <div dir="ltr">Olá!
                  <div>Preciso colocar nomes no eixo X de um gráfico
                    feito usando a função plot().</div>
                  <div>Cada valor do "y" corresponde a uma estação do
                    ano.</div>
                  <div>Segue o script:</div>
                  <div>
                    <div><br>
                    </div>
                    <div>estacao =
                      as.factor(c("Outono","Inverno","Primavera","Verão"))</div>
                    <div>x = 1:4<br>
                    </div>
                    <div>y1 = rnorm(4, 3,1)</div>
                    <div>y2 = rnorm(4, 3, 1)</div>
                    <div>y3 = rnorm(4, 4, 1.5)</div>
                    <div>y4 = rnorm(4, 3.5, 1)</div>
                    <div>data.frame(y1,y2,y3,y4,estacao)<br>
                    </div>
                    <div>plot(y1~x, axes= FALSE,lwd=1,type='b', xlab =
                      'Estação',ylab ="ETo (mm/d)",ylim=c(0,6)) </div>
                    <div>lines(y2~x,col="red",type="b") </div>
                    <div>lines(y3~x,col="green",type="b")</div>
                    <div>lines(y4~x,col="black",type="b")</div>
                    <div>axis(2)</div>
                    <div>#os dois comandos abaixo foram tentativas que
                      não deram certo:</div>
                    <div>axis(1, names("estacao"))</div>
                    <div>axis(1,
                      at=c("Outono","Inverno","Primavera","Verão"))</div>
                  </div>
                  <div>
                    <div><br>
                    </div>
                    <div>legend(1.5,6,c("M1","M2","M3","M4"),</div>
                    <div>       col = 1:4,</div>
                    <div>       lty = rep(1,4),</div>
                    <div>       horiz=T,</div>
                    <div>       ncol = 1)</div>
                  </div>
                  <div><br>
                  </div>
                  <div>Agradeço caso tenham alguma sugestão.</div>
                  <div><br>
                  </div>
                  <div>Maurício</div>
                </div>
              </div>
            </div>
          </div>
          _______________________________________________<br>
          R-br mailing list<br>
          <a href="mailto:R-br@listas.c3sl.ufpr.br" target="_blank"
            moz-do-not-send="true">R-br@listas.c3sl.ufpr.br</a><br>
          <a
            href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br"
            rel="noreferrer" target="_blank" moz-do-not-send="true">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="noreferrer"
            target="_blank" moz-do-not-send="true">http://www.leg.ufpr.br/r-br-guia</a>)
          e forneça código mínimo reproduzível.</blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
R-br mailing list
<a class="moz-txt-link-abbreviated" href="mailto:R-br@listas.c3sl.ufpr.br">R-br@listas.c3sl.ufpr.br</a>
<a class="moz-txt-link-freetext" href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a>
Leia o guia de postagem (<a class="moz-txt-link-freetext" href="http://www.leg.ufpr.br/r-br-guia">http://www.leg.ufpr.br/r-br-guia</a>) e forne�a c�digo m�nimo reproduz�vel.</pre>
    </blockquote>
    <p><br>
    </p>
  <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /> <table style="border-top: 1px solid #D3D4DE;">
        <tr>
      <td style="width: 55px; padding-top: 18px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
                <td style="width: 470px; padding-top: 17px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Livre de vírus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avast.com</a>.                 </td>
        </tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>