<div dir="ltr"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">Olá pessoal,</span><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">
<span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">Alguém sabe como quebrar o eixo/escala em gráfico de barras agrupadas no R? Eu preciso fazer um gráfico e tem um grupo bem maior que os demais, e nesse caso passa ter um problema de escala. Segue o CMR</span><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">
<br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">cp1=c(6.81, 3.78, 3.16, 0.66, 4.27, 0.75, 5.64, 2.02, 0.99, 31.00)</span><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">
<span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">cp2=c(4.57, 0, 0, 0, 3.81, 0, 6.6, 1.27, 0, 140)</span><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">cp3=c(0.46, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 35.00)</span><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">
<span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">grups=c(1,2,3,4,5,6,7,8,9,10)</span><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">
<span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">dbh=data.frame(grups,cp1,cp2,</span><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">cp3)</span><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">
<span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">dbhm=t(as.matrix(dbh[,-1]))</span><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">colnames(dbhm)=dbh$grups</span><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">
<span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">barplot(dbhm, beside=T, las=1)</span><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">
<br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">O último grupo tem valores bem maior que os demais, por isso que fica ruim ver as variações de cada componente nos outros grupos. Eu queria fazer semelhante a esse (</span><a href="http://uspace.shef.ac.uk/servlet/JiveServlet/showImage/2-12478-3980/gap_plot.png" target="_blank" style="font-family:arial,sans-serif;font-size:13px">http://uspace.shef.ac.uk/servlet/JiveServlet/showImage/2-12478-3980/gap_plot.png</a><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">), mas não sei como quando utiliza a função "beside=T".</span><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">
<br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">Grato pela atenção.</span><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">
<br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">Rodolfo Marcondes Silva Souza</span><br clear="all"><div><br></div>
</div>