Push a Hexagon Viewport ("hexVP")

Description

Push a Hexagon Viewport ("hexVP", see hexVP-class) on to the tree of (grid) viewports, calling pushViewport.

Usage

1
pushHexport(hvp, clip = "off")

Arguments

hvp

a hexagon viewport, i.e., an object of class "hexVP", see hexVP-class, typically produced by hexViewport(..).

clip

which viewport to push, either 'on' or 'off' are the allowed arguments, see details.

Details

A hexagon viewport ("hexVP") object has slots for two replicate viewports one with clipping turned on and one with clipping off. This allows toggling the clipping option.

See Also

the underlying pushViewport from the grid package.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.