plot: Create a styled plot

Description Usage Arguments Examples

View source: R/RcssWrappers.R

Description

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

Usage

1
plot(x, y, Rcss = "default", Rcssclass = NULL, ...)

Arguments

x, y

coordinates for points on the plot

Rcss

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

Rcssclass

character, style class

...

Further parameters, see documentation of graphics::plot

Examples

1
2
3
4
# draw a new empty plot area - unit square
plot(c(0, 1), c(0, 1), type="n", xlab="", ylab="")
# draw a plot area, automatically add some points
plot(runif(20), rpois(20, 100))

Rcssplot documentation built on Jan. 8, 2020, 5:11 p.m.