| orb_theme | R Documentation |
Themes control the non-data appearance of a plot: colours of the background,
grid, axes and text, plus base font size. Add a theme to a plot with +.
orb_theme_light(base_size = 12, ...)
orb_theme_dark(base_size = 12, ...)
orb_theme_minimal(base_size = 12, ...)
orb_theme_ink(base_size = 12, ...)
base_size |
Base font size in points (default 12). |
... |
Named theme elements to override, for example
|
An object of class orb_theme, to be added to a plot.
p <- orb(mtcars, x = wt, y = mpg) + orb_points()
p + orb_theme_dark()
p + orb_theme_light(base_size = 14)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.