slide {unikn} | R Documentation |
Plot a slide (or frame)
Description
slide
plots an empty slide (or frame)
as a colored rectangle.
Usage
slide(col = NA, dim = c(4/3, 1), border = grey(0.33, 1), lwd = 1.5)
Arguments
col |
The color to fill the slide with (i.e., its background color).
Default: |
dim |
The x- and y-dimensions of the slide.
Default: |
border |
The color of the slide's border.
Setting |
lwd |
The line width of the slide's border.
Setting |
See Also
heading
, line
, or mark
to add text to a slide;
xbox
to plot a box.
Other plot functions:
theme_grau()
,
theme_unikn()
,
xbox()
Examples
slide() # default slide (or frame)
slide(lwd = NA) # borderless slide
# Dimensions:
slide(dim = c(18, 9)) # larger and 2:1 dimensions
slide(dim = c(1/3, 1)) # smaller and 1:3 dimensions
# Formatting:
slide(col = pal_seeblau[[1]], border = pal_seeblau[[5]], lwd = 2)
[Package unikn version 1.0.0 Index]