<font face="trebuchet ms,sans-serif">Alexandre,<br><br>Você pode usar trellis.focus() para escrever em regiões gráficas, veja como fica a solução agora<br><br><span style="font-family: courier new,monospace;">barchart(modelo~T4|T3 , data=teste, xlab="XXXXX", ylab="XXXXX", groups=data,</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">          auto.key=list(space="top", columns=3, points=FALSE, rectangles=TRUE,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">            cex=0.8, size=1.4, adj=1, between=0.2, between.colums=0.1),</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">          col=gray.colors(3)[1:3], box.ratio=1.5, aspect=0.6, layout=c(1,4),</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">          par.settings=list(</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">            superpose.polygon=list(col=gray.colors(3)),</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">            fontsize=list(text=9)),</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">          par.strip.text=list(cex=0.9),</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">          scales=list(x=list(tick.number=6)),</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">          strip=strip.custom(bg="gray95", factor.levels=c("X1","X2","X3","X4")),</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">          panel=function(x, y, ...){</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">            panel.barchart(x, y, ...)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">            panel.abline(v=(9.8), col="gray60",  lty=2)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">          })</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">trellis.focus("page")</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">panel.text(0,1,"a)", adj=c(0,2))</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">trellis.unfocus()</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">Quando você passa um data.frame para o argumento data=, a lattice entende que os nomes na formula Y~X|Z e em groups= são colunas do data.frame, então você não precisa ficar usando $.<br>
<br>À disposição.<br>Walmes.<br><br clear="all"></font><span style="font-family: trebuchet ms,sans-serif;">==========================================================================</span><br style="font-family: trebuchet ms,sans-serif;">
<span style="font-family: trebuchet ms,sans-serif;">Walmes Marques Zeviani</span><br style="font-family: trebuchet ms,sans-serif;"><span style="font-family: trebuchet ms,sans-serif;">LEG (Laboratório de Estatística e Geoinformação, 25.450418 S, 49.231759 W)</span><br style="font-family: trebuchet ms,sans-serif;">
<span style="font-family: trebuchet ms,sans-serif;">Departamento de Estatística - Universidade Federal do Paraná</span><br style="font-family: trebuchet ms,sans-serif;"><span style="font-family: trebuchet ms,sans-serif;">fone: (+55) 41 3361 3573</span><br style="font-family: trebuchet ms,sans-serif;">
<span style="font-family: trebuchet ms,sans-serif;">VoIP: (3361 3600) 1053 1173</span><br style="font-family: trebuchet ms,sans-serif;"><span style="font-family: trebuchet ms,sans-serif;">e-mail: <a href="mailto:walmes@ufpr.br" target="_blank">walmes@ufpr.br</a></span><br style="font-family: trebuchet ms,sans-serif;">
<span style="font-family: trebuchet ms,sans-serif;">twitter: @walmeszeviani</span><br style="font-family: trebuchet ms,sans-serif;"><span style="font-family: trebuchet ms,sans-serif;">homepage: <a href="http://www.leg.ufpr.br/%7Ewalmes" target="_blank">http://www.leg.ufpr.br/~walmes</a></span><br style="font-family: trebuchet ms,sans-serif;">
<span style="font-family: trebuchet ms,sans-serif;">linux user number: 531218</span><br style="font-family: trebuchet ms,sans-serif;"><span style="font-family: trebuchet ms,sans-serif;">==========================================================================</span><br>