box: Add a styled box around a plot

Description Usage Arguments Examples

View source: R/RcssWrappers.R

Description

This is a wrapper for R's box function. See R's documentation for graphics::box for further details.

Usage

1
box(which = "plot", Rcss = "default", Rcssclass = NULL, ...)

Arguments

which

character specifying where to draw a box; see documentation of box()

Rcss

style sheet object. Leave "default" to use a style defined via RcssSetDefaultStyle()

Rcssclass

sub class of style sheet

...

Further parameters, see documentation of graphics::box

Examples

1
2
3
# draw a box around an existing plot
plot(c(0, 1), c(0, 1), type="n", frame=FALSE)
box(lwd=3)

tkonopka/Rcssplot documentation built on Jan. 21, 2021, 11:36 p.m.