grobs_stack: Stack grobs top to bottom

grobs_stackR Documentation

Stack grobs top to bottom

Description

Stack grobs top to bottom

Usage

grobs_stack(
  grobs,
  name = NULL,
  ref_grob = 1,
  use_y = NULL,
  verbose = FALSE,
  debug = FALSE,
  ...
)

Arguments

grobs

one of the following forms of grid graphical objects:

  • list containing grid grobs, or gTree objects.

  • single gTree objects, which is broken into a list of components

  • gList containing grid grobs or gTree objects.

ref_grob

integer intended to define the reference object, and refers to the object in order they are defined in the gTree.

use_y

unit object, experimental, used instead of ref_grob to define the starting position.

verbose

logical indicating whether to print verbose output

debug

logical with experimental debug output

...

additional arguments are ignored.

Details

This approach uses proper xext,yext min and max values from grobs_exts()

See Also

Other grobs: grobs_exts(), grobs_tile(), grobs_xalign(), grobs_yalign()


jmw86069/venndir documentation built on Nov. 14, 2024, 10:12 a.m.