showOuterMarginLines: Add Lines to a Plot to Indicate Where the Outer Margins Are

Description Usage Arguments Author(s) Examples

View source: R/showOuterMarginLines.R

Description

Add Lines to a Plot to Indicate Where the Outer Margins Are

Usage

1
showOuterMarginLines(sides = 1:4, lty = 3, col = "purple", ...)

Arguments

sides

Numeric vector giving the sides of the plot to annotate. Defaults to 1:4.

lty

Argument to be passed to graphics::abline. Defaults to 3.

col

Argument to be passed to graphics::abline. Defaults to "purple".

...

Other arguments to be passed to graphics::abline

Author(s)

Jasper Watson

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

par(oma = 1:4, mfrow = 2:1)
plot(1:10)
plot(1:10)
par(xpd = NA)
showOuterMarginLines()


## End(Not run)

rntq472/precisePlacement documentation built on Dec. 22, 2021, 5:12 p.m.