layoutCollapse: Set the lattice 'par.settings' to remove all marginal space.

Description Usage Arguments Details Value Author(s) Examples

Description

Set the lattice par.settings to remove all marginal space. By default everything in layout.heights or layout.widths is set to 0 except for panel. The user can specify values for all the standard items in either of those items.

Usage

1
2

Arguments

...

Any item name in layout.heights for layoutHeightsCollapse or
in layout.widths for layoutWidthsCollapse.

Details

When very small plots are placed inside a LaTeX tabular environment, it is often helpful to suppress margins, axes, labels, titles.

Value

A list which may be used as input to the par.settings argument in a lattice call.

Author(s)

Richard M. Heiberger <rmh@temple.edu>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
lattice::trellis.par.get("layout.heights")
lattice::trellis.par.get("layout.widths")
layoutHeightsCollapse()
layoutWidthsCollapse()
layoutWidthsCollapse(axis.left=1)

## Please see the package documentation for a simple example in context.

## Please see the demos for more interesting examples.
## demo(package="microplot")


Search within the microplot package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.