<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--></head><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_ym19_1_1486385149810_23179">algumas formas <br></div><div id="yui_3_16_0_ym19_1_1486385149810_23152">pie(frota, main="Frota 2009 - Niterói_RJ", init.angle=180)</div><div id="yui_3_16_0_ym19_1_1486385149810_23151">text(locator(length(names(frota))),rotulos)</div><div id="yui_3_16_0_ym19_1_1486385149810_23251"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1486385149810_23250">text(450,100,"reta de regressão")<br></div><div id="yui_3_16_0_ym19_1_1486385149810_23084"><span><br></span></div><div><span>Veja esse link abaixo</span></div><div id="yui_3_16_0_ym19_1_1486385149810_23085"><div dir="ltr" id="yui_3_16_0_ym19_1_1486385149810_23286"><a href="http://stackoverflow.com/questions/34662585/how-to-add-text-in-my-boxplot" class="enhancr2_a3424f3f-3a3c-f543-b8c0-718754f1db7f" id="yui_3_16_0_ym19_1_1486385149810_23285">how to add text in my boxplot?</a></div><div id="yui_3_16_0_ym19_1_1486385149810_23331"><br></div><div id="enhancr2_a3424f3f-3a3c-f543-b8c0-718754f1db7f" class="yahoo-link-enhancr-card ymail-preserve-class ymail-preserve-style" style="max-width:400px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;" data-url="http://stackoverflow.com/questions/34662585/how-to-add-text-in-my-boxplot" data-type="yenhancr" data-category="website" data-embed-url="" data-size="medium" dir="ltr" contenteditable="false"> <a href="http://stackoverflow.com/questions/34662585/how-to-add-text-in-my-boxplot" style="text-decoration:none !important; color: #000 !important;" class="yahoo-enhancr-cardlink" target="_blank" rel="noreferrer" id="yui_3_16_0_ym19_1_1486385149810_23311"> <table class="card-wrapper yahoo-ignore-table" style="max-width:400px;" id="yui_3_16_0_ym19_1_1486385149810_23310" cellspacing="0" cellpadding="0" border="0"> <tbody id="yui_3_16_0_ym19_1_1486385149810_23309"><tr id="yui_3_16_0_ym19_1_1486385149810_23308"> <td id="yui_3_16_0_ym19_1_1486385149810_23307" width="400"> <table class="card yahoo-ignore-table" style="max-width:400px;" id="yui_3_16_0_ym19_1_1486385149810_23306" width="100%" cellspacing="0" cellpadding="0" border="0"> <tbody id="yui_3_16_0_ym19_1_1486385149810_23305"><tr id="yui_3_16_0_ym19_1_1486385149810_23304"> <td class="card-primary-image-cell" style="background:#000 url('https://s.yimg.com/vv//api/res/1.2/oEpJDjGWKLjs8e45QNGkYw--/YXBwaWQ9bWFpbDtmaT1maWxsO2g9MjAwO3c9NDAw/https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon@2.png?v=73d79a89bded.cf.jpg') no-repeat center center;background-size:cover;height:200px;position:relative;" id="yui_3_16_0_ym19_1_1486385149810_23303" valign="top" bgcolor="#000000" background="https://s.yimg.com/vv//api/res/1.2/oEpJDjGWKLjs8e45QNGkYw--/YXBwaWQ9bWFpbDtmaT1maWxsO2g9MjAwO3c9NDAw/https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon@2.png?v=73d79a89bded.cf.jpg"> <!--[if gte mso 9]><v:rect fill="true" stroke="false" style="width:400px;height:218px;position:absolute;top:0;left:0;"><v:fill type="frame" color="#000000" src="https://s.yimg.com/vv//api/res/1.2/oEpJDjGWKLjs8e45QNGkYw--/YXBwaWQ9bWFpbDtmaT1maWxsO2g9MjAwO3c9NDAw/https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon@2.png?v=73d79a89bded.cf.jpg"/></v:rect><![endif]--> <table class="yahoo-ignore-table" valign="top" style="width:100%;" id="yui_3_16_0_ym19_1_1486385149810_23302" cellspacing="0" cellpadding="0" border="0"> <tbody id="yui_3_16_0_ym19_1_1486385149810_23301"><tr id="yui_3_16_0_ym19_1_1486385149810_23300"> <td style="background:transparent url('https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png') repeat left top;height:200px;" id="yui_3_16_0_ym19_1_1486385149810_23299" valign="top" bgcolor="transparent" background="https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png"> <!--[if gte mso 9]><v:rect fill="true" stroke="false" style="width:400px;height:218px;position:absolute;top:-18px;left:0;"><v:fill type="pattern" color="#000000" src="https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png"/><v:textbox inset="0,0,20px,0"><![endif]--> <table class="yahoo-ignore-table" style="width:100%;height:185px;min-height:185px;" id="yui_3_16_0_ym19_1_1486385149810_23298" height="185"> <tbody id="yui_3_16_0_ym19_1_1486385149810_23297"><tr id="yui_3_16_0_ym19_1_1486385149810_23296"> <td class="card-richInfo2" style="text-align:left;text-align:left;padding:15px 0 0 15px;vertical-align:top;" id="yui_3_16_0_ym19_1_1486385149810_23295"> </td> <td class="card-actions" style="text-align:right;padding:15px 15px 0 0;vertical-align:top;" id="yui_3_16_0_ym19_1_1486385149810_23332"> <div class="card-share-container"></div> </td> </tr> </tbody></table> <!--[if gte mso 9]></v:textbox></v:rect><![endif]--> </td> </tr> </tbody></table> </td> </tr> <tr> <td> <table class="card-info yahoo-ignore-table" style="background:#fff;position:relative;z-index:2;width:95%;max-width:380px;border:1px solid #e0e4e9;border-bottom:3px solid #000000;margin-top:-40px;margin-left:auto;margin-right:auto;" align="center" cellspacing="0" cellpadding="0" border="0"> <tbody><tr> <td style="background-color:#ffffff;padding:16px 0 16px 12px;vertical-align:top;"> </td> <td style="vertical-align:middle;padding:16px 12px;width:99%;"> <h2 class="card-title" style="font-size: 16px; line-height:19px; margin:0 0 4px 0;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;word-break:break-word;">how to add text in my boxplot?</h2> <div class="card-description" style="font-size:11px;line-height:15px;color:#999;word-break:break-word;">I have plotted box plot for my data using given command and trying to write text (p-value ) in it. Using : b...</div> </td> <td style="text-align:right;padding:16px 12px 16px 0;"> </td> </tr> </tbody></table> </td> </tr> </tbody></table> </td> </tr> </tbody></table> </a></div><div><br></div><br></div><div class="signature" id="yui_3_16_0_ym19_1_1486385149810_23080">Edson Lira <br>Estatístico<br>Manaus-Amazonas</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: times new roman, new york, times, serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> Em Segunda-feira, 6 de Fevereiro de 2017 10:15, Christina Grupioni via R-br <r-br@listas.c3sl.ufpr.br> escreveu:<br></font></div> <br><br> <div class="y_msg_container"><div id="yiv6064296366"><div dir="ltr"><div><div><div>Olá listeiros!</div><div><br></div><div>Estou precisando incluir o valor dos outliers no boxplot que estou plotando junto com o histograma. E também necessito incluir o valor dos quartis. É possível?</div><div><br></div><div>O código que estou usando é o seguinte.</div><div><br></div><div>mat <- matrix(c(1,2,0,0), 2)</div><div>mat</div><div>layout(mat, c(3.5,1), c(1,3))</div><div>par(mar=c(0.5, 4.5, 0.5, 0.5))</div><div>boxplot(campo$ef, horizontal=TRUE, axes=FALSE, col=(cores))</div><div>par(mar=c(4.5, 4.5, 0.5, 0.5))</div><div>par(cex.axis=0.8,cex.main=1)</div><div>hist(campo$ef,col=(cores),main="Histograma da Eficiência de colheita",xlab=("Eficiência (%)"),ylab="Frequencia",adj=0,breaks=12,border="white", labels=qcap)</div><div>axis(1,at=seq(50,100,5))</div><div>axis(2,at=seq(0,22,2))</div><div>density.default(campo$ef)</div><div>d<-density(campo$ef)</div><div>par(new=TRUE)</div><div>plot(d,ann=FALSE, axes=FALSE)</div></div>-- <br><div class="yiv6064296366gmail_signature"><div dir="ltr"></div></div></div><div><br></div><div>Abaixo aqui meus dados. Não sei se está correto, sou nova mesmo no uso e me indicaram usar o comando dput para incluir os dados no post:</div><div><br></div><div>dput(campo)</div><div>structure(list(trat = c(1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 3L, 3L, </div><div>3L, 3L, 4L, 4L, 4L, 4L, 5L, 5L, 5L, 5L, 6L, 6L, 6L, 6L, 7L, 7L, </div><div>7L, 7L, 8L, 8L, 8L, 8L), cacho = c(34L, 35L, 15L, 33L, 24L, 28L, </div><div>25L, 29L, 14L, 8L, 5L, 13L, 20L, 31L, 32L, 27L, 9L, 10L, 11L, </div><div>12L, 26L, 23L, 22L, 21L, 6L, 4L, 7L, 2L, 19L, 18L, 17L, 16L), </div><div> carret = structure(c(1L, 1L, 2L, 1L, 1L, 1L, 1L, 1L, 1L, </div><div> 1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 1L, 1L, 1L, 1L, 2L, 2L, 1L, </div><div> 1L, 1L, 1L, 2L, 1L, 2L, 2L, 2L), .Label = c("nao", "sim"), class = "factor"), </div><div> local = structure(c(1L, 1L, 2L, 1L, 1L, 1L, 1L, 1L, 2L, 1L, </div><div> 1L, 2L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 1L, 2L, 2L, 1L, 1L, </div><div> 1L, 1L, 1L, 1L, 2L, 2L, 2L), .Label = c("MG", "MS"), class = "factor"), </div><div> est = structure(c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, </div><div> 2L, 2L, 2L, 2L, 2L, 2L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, </div><div> 1L, 1L, 1L, 1L, 1L, 1L, 1L), .Label = c("maduro", "vez"), class = "factor"), </div><div> A = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, </div><div> 2L, 2L, 2L, 2L, 2L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, </div><div> 2L, 2L, 2L, 2L, 2L, 2L), .Label = c("continuo", "repique"</div><div> ), class = "factor"), H = c(4L, 4L, 4L, 4L, 8L, 8L, 8L, 8L, </div><div> 4L, 4L, 4L, 4L, 8L, 8L, 8L, 8L, 4L, 4L, 4L, 4L, 8L, 8L, 8L, </div><div> 8L, 4L, 4L, 4L, 4L, 8L, 8L, 8L, 8L), tempo = c(87L, 127L, </div><div> 35L, 100L, 59L, 27L, 30L, 64L, 44L, 31L, 52L, 75L, 40L, 63L, </div><div> 62L, 32L, 43L, 35L, 21L, 57L, 19L, 112L, 113L, 73L, 27L, </div><div> 24L, 29L, 51L, 41L, 50L, 39L, 88L), frutos.bons = c(114L, </div><div> 138L, 170L, 222L, 83L, 81L, 125L, 134L, 76L, 155L, 240L, </div><div> 189L, 55L, 295L, 281L, 369L, 74L, 67L, 126L, 214L, 62L, 10L, </div><div> 32L, 185L, 83L, 83L, 77L, 208L, 42L, 54L, 41L, 50L), Kg.frutos.bons = c(5.9, </div><div> 7.6, 4.7, 10.8, 4.1, 5.2, 7.8, 5.6, 5.5, 8, 9.1, 4.8, 2.9, </div><div> 11, 13.2, 15.5, 4, 2.1, 5.1, 5.1, 2.7, 2.4, 2.5, 8.4, 3.2, </div><div> 4, 4.7, 9.9, 1.9, 2.5, 4.4, 5.7), colhidos = c(146L, 187L, </div><div> 189L, 288L, 110L, 113L, 128L, 180L, 148L, 162L, 249L, 246L, </div><div> 80L, 349L, 397L, 422L, 82L, 104L, 131L, 240L, 66L, 88L, 96L, </div><div> 235L, 84L, 91L, 97L, 258L, 50L, 109L, 204L, 250L), dleves = c(6L, </div><div> 30L, 12L, 37L, 14L, 24L, 3L, 24L, 51L, 5L, 5L, 50L, 22L, </div><div> 41L, 86L, 43L, 2L, 29L, 5L, 13L, 4L, 44L, 23L, 40L, 1L, 6L, </div><div> 18L, 20L, 6L, 39L, 101L, 48L), dgraves = c(26L, 19L, 7L, </div><div> 29L, 13L, 8L, 0L, 22L, 21L, 2L, 4L, 7L, 3L, 13L, 30L, 10L, </div><div> 6L, 8L, 0L, 13L, 0L, 34L, 41L, 10L, 0L, 2L, 2L, 30L, 2L, </div><div> 16L, 62L, 152L), naocolhidos = c(7L, 4L, 17L, 8L, 2L, 9L, </div><div> 0L, 16L, 10L, 3L, 8L, 23L, 2L, 8L, 4L, 1L, 5L, 4L, 1L, 9L, </div><div> 0L, 19L, 87L, 6L, 1L, 1L, 2L, 21L, 6L, 13L, 10L, 19L), carga = c(153L, </div><div> 191L, 206L, 296L, 112L, 122L, 128L, 196L, 158L, 165L, 257L, </div><div> 269L, 82L, 357L, 401L, 423L, 87L, 108L, 132L, 249L, 66L, </div><div> 107L, 183L, 241L, 85L, 92L, 99L, 279L, 56L, 122L, 214L, 269L</div><div> ), tamanho = c(0.76, 0.84, 0.77, 0.97, 0.64, 0.71, 1.04, </div><div> 0.89, 0.94, 0.88, 0.86, 0.82, 0.81, 1, 0.95, 1.09, 0.83, </div><div> 0.74, 0.84, 0.63, 1.02, 0.54, 0.87, 0.86, 0.87, 0.79, 0.82, </div><div> 0.78, 0.74, 0.69, 0.57, 0.66), altura = c(2.4, 2.6, 3, 2.67, </div><div> 2.26, 2.36, 2.45, 2.98, 2.97, 2.39, 3.13, 2.28, 1.76, 2.66, </div><div> 2.51, 3.8, 3.52, 2.31, 2.86, 2.97, 2.39, 3.34, 3.42, 2.38, </div><div> 3.33, 3.02, 2.47, 3.46, 1.58, 3.56, 3.4, 3.71), cap = c(244.137931, </div><div> 215.4330709, 483.4285714, 388.8, 250.1694915, 693.3333333, </div><div> 936, 315, 450, 929.0322581, 630, 230.4, 261, 628.5714286, </div><div> 766.4516129, 1743.75, 334.8837209, 216, 874.2857143, 322.1052632, </div><div> 511.5789474, 77.14285714, 79.6460177, 414.2465753, 426.6666667, </div><div> 600, 583.4482759, 698.8235294, 166.8292683, 180, 406.1538462, </div><div> 233.1818182), ef = c(95.4248366, 97.90575916, 91.74757282, </div><div> 97.2972973, 98.21428571, 92.62295082, 100, 91.83673469, 93.67088608, </div><div> 98.18181818, 96.88715953, 91.44981413, 97.56097561, 97.75910364, </div><div> 99.00249377, 99.76359338, 94.25287356, 96.2962963, 99.24242424, </div><div> 96.38554217, 100, 82.24299065, 52.45901639, 97.51037344, </div><div> 98.82352941, 98.91304348, 97.97979798, 92.47311828, 89.28571429, </div><div> 89.3442623, 95.3271028, 92.93680297)), .Names = c("trat", </div><div>"cacho", "carret", "local", "est", "A", "H", "tempo", "frutos.bons", </div><div>"Kg.frutos.bons", "colhidos", "dleves", "dgraves", "naocolhidos", </div><div>"carga", "tamanho", "altura", "cap", "ef"), class = "data.frame", row.names = c(NA, </div><div>-32L))</div><div><br></div><div><br></div><div>Na escuta, </div><div><br></div><div><br></div><div><div><br></div></div><div class="yiv6064296366gmail_signature"><div dir="ltr"><div style="text-align:center;color:rgb(0,127,64);font-weight:bold;font-size:18px;"><font color="#007f40">CHRISTINA GRUPIONI</font></div><div style="text-align:center;color:rgb(0,127,64);font-weight:bold;font-size:18px;"><span style="font-size:13px;color:rgb(0,0,0);font-family:arial, helvetica, sans-serif;">Engenheira Agrícola e Ambiental- CREA BA: 84142</span><br></div><div style="text-align:center;"><font color="#993300"><font size="2" face="arial, helvetica, sans-serif"><b>OCA (Organização Cooperativa de Agroecologia</b></font><font size="2" face="arial, helvetica, sans-serif"><b>)</b></font></font></div><div style="text-align:center;"><font size="2" face="arial, helvetica, sans-serif" color="#000000"><b>Tecnologias Ecológicas e Sociais</b></font></div><div style="font-family:arial, helvetica, sans-serif;font-size:15.5556px;background-color:rgb(255,255,255);text-align:center;"><font><font face="arial, helvetica, sans-serif"><font style="font-size:13px;" color="#009900"><a rel="nofollow" href="">(31) 8863-0005, (31) 3892-2236</a></font></font></font></div><div style="font-family:arial, helvetica, sans-serif;font-size:15.5556px;background-color:rgb(255,255,255);text-align:center;"><font color="#993300"><i>skype:<font style="background-color:transparent;font-size:13px;"><a rel="nofollow" ymailto="mailto:chrisgrupioni@gmail.com" target="_blank" href="mailto:chrisgrupioni@gmail.com">chrisgrupioni@gmail.com</a></font></i></font></div><br><div><br></div></div></div>
</div></div><br>_______________________________________________<br>R-br mailing list<br><a ymailto="mailto:R-br@listas.c3sl.ufpr.br" 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><br></div> </div> </div> </div></div></body></html>