-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Frede Aakmann Tøgersen schrieb: > This should give you something close to what you want: > > > xyplot(Petal.Length ~ Petal.Width | Species, iris, > strip = strip.custom(par.strip.text = list(cex = 2)), > par.settings = list(layout.heights=list(strip=1.45))) > > The par.settings argument alters locally the default par settings of lattice > plots, see e.g. ?trellis.par.get and the ?xyplot about the par.settings > argument. > > A closer inspection (try using strip = 2 or numbers less than 1.45 in stead > of strip = 1.45) of the figure reveals that there are some problems with > vertical alignment of the strip text, i.e. not centered. > > To remedy this I think that you have to use you own strip function. You may > be able to build you own function by altering the default strip function, see > ?lattice.options and try lattice.options() at the command prompt. However > this may be more difficult than it seems at first. Perhaps some one more > familiar with the lattice package can solve this.
Perfect! Thank you very much, Bernd -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG3l5cUsbvfbd00+ERAh1qAJ4tw3ZiIYnI+UF6FJeLT1xRMep/VACfR+I1 R14RJkdaFBNFqVc6kibyaRk= =W41I -----END PGP SIGNATURE----- ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.