Learn R Programming

precisePlacement (version 0.1.0)

highlightDeviceRegion: Highlight the Device Region of a Plot

Description

Highlight the Device Region of a Plot

Usage

highlightDeviceRegion(border = "skyblue", col = adjustcolor(border, 0.1))

Arguments

border

Parameter to be passed to graphics::rect. Defaults to "green".

col

Parameter to be passed to graphics::rect. Defaults to adjustcolor(border, 0.1).

Examples

Run this code
# NOT RUN {
plot(1:10)
par(xpd = NA)
highlightDeviceRegion()

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab