powered by
Add Lines to a Plot to Indicate Where the Outer Margins Are
showOuterMarginLines(sides = 1:4, lty = 3, col = "purple", ...)
Numeric vector giving the sides of the plot to annotate. Defaults to 1:4.
Argument to be passed to graphics::abline. Defaults to 3.
Argument to be passed to graphics::abline. Defaults to "purple".
Other arguments to be passed to graphics::abline
# NOT RUN { par(oma = 1:4, mfrow = 2:1) plot(1:10) plot(1:10) par(xpd = NA) showOuterMarginLines() # } # NOT RUN { # }
Run the code above in your browser using DataLab