powered by
Highlight the Device Region of a Plot
highlightDeviceRegion(border = "skyblue", col = adjustcolor(border, 0.1))
Parameter to be passed to graphics::rect. Defaults to "green".
Parameter to be passed to graphics::rect. Defaults to adjustcolor(border, 0.1).
# NOT RUN { plot(1:10) par(xpd = NA) highlightDeviceRegion() # } # NOT RUN { # }
Run the code above in your browser using DataLab