Michael Ramati wrote:
hello, is there a way to control figure margins using package lattice, similarly to parameters mai/mar (which presumbly works only for figures of package graphics)? thanks!
Try it this way: library(lattice) trellis.device() trellis.par.set(list( layout.widths = list(left.padding = 8, right.padding = 9), layout.heights = list(top.padding = 10, bottom.padding = 11))) xyplot(Sepal.Length ~ Petal.Length | Species, data = iris) Use trellis.par.get() and check the layout.heights/widths sections. You can adjust the spacing between the labels and the axis, etc. The paddings are ordered from extreme left to extreme right. Ditto for top to bottom. See ?trellis.par.set for how to set up the options. -Peter Ehlers
[[alternative HTML version deleted]] ------------------------------------------------------------------------ ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel