Re: [R] Help with lattice graphics

2008-12-01 Thread baptiste auguie
Hi, The main difference I saw between your two graphs was the stacking, which you can obtain by stack=TRUE in lattice. I'm not sure what cosmetic issues you had in mind. Perhaps you can try this, barchart(y~dfb|dfyr,dataf,layout=c(3,1),stack=T,ylim=c(0, 2.7), groups=dfa, strip

[R] Help with lattice graphics

2008-12-01 Thread ravi
Hi, I like the formatting and the appearance of lattice plots. But I have not succeeded in gettting the right format in my plots with the lattice package in one of my applications. In the code shown below, I start by constructing a general data frame and show my attempts with the lattice package