View source: R/background_panel.R
set_background | R Documentation |
Set plot and panel background of an scplot
set_background(object, ...)
set_panel(object, ...)
object |
An scplot object (class |
... |
List with rectangle parameters ( |
An object of class scplot
(seescplot()
).
data(exampleAB, package = "scan")
p1 <- scplot(exampleAB) |>
set_background(fill = "lightblue", colour = "darkblue", linewidth = 1.5) |>
set_panel(fill = "deepskyblue", color = "darkblue", linewidth = 0.3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.