plotViewport

0th

Percentile

Create a Viewport with a Standard Plot Layout

This is a convenience function for producing a viewport with the common S-style plot layout -- i.e., a central plot region surrounded by margins given in terms of a number of lines of text.

Keywords
dplot
Usage
plotViewport(margins=c(5.1, 4.1, 4.1, 2.1), ...)
Arguments
margins

A numeric vector interpreted in the same way as par(mar) in base graphics.

All other arguments will be passed to a call to the viewport() function.

Value

A grid viewport object.

See Also

viewport and dataViewport.

Aliases
  • plotViewport
Documentation reproduced from package grid, version 3.4.1, License: Part of R 3.4.1

Community examples

Looks like there are no examples yet.