xbox: Plot a box (with x).

Description Usage Arguments Details See Also Examples

View source: R/plot_box_calls.R

Description

xbox plots a box with a cross (x) in its top-right corner.

Usage

1
xbox(col = Seeblau, dim = c(1, 1))

Arguments

col

The color to fill the box with (i.e., its background color). Default: col = unlist(seeblau).

dim

The x- and y-dimensions of the box. Default: dim = c(1, 1) (i.e., a unit square).

Details

The cross (x) appears rectangular when viewing the plot at the correct aspect ratio (as defined by dim).

See Also

post to add text to an xbox; slide to plot a new slide (or frame).

Other plot functions: slide, theme_unikn

Examples

1
2
3
4
5
xbox()  # default box

# Options:
xbox(col = Bordeaux)
xbox(dim = c(2, 1)) # 2:1 dimension (wider than high)

unikn documentation built on Sept. 25, 2019, 5:02 p.m.