# NOT RUN {
lattice::trellis.par.get("layout.heights")
lattice::trellis.par.get("layout.widths")
layoutHeightsCollapse()
layoutWidthsCollapse()
layoutWidthsCollapse(axis.left=1)
A <- lattice::xyplot(Sepal.Length ~ Sepal.Width | Species, data=iris)
A ## one page with three panels
layoutCollapse(A) ## three pages with one unlabeled panel on each
layoutCollapse(A, ## one page with panels labeled by ylab
layout=c(1,3),
ylab=levels(iris$Species),
layout.heights=list(axis.bottom=1),
layout.widths=list(axis.left=1),
axis.line=list(col="green"))
# }
# NOT RUN {
## Please see the package documentation for a simple example in context.
## Please see the demos for more interesting examples.
## demo(package="microplot")
# }
Run the code above in your browser using DataLab