points: Add styled points to a plot

Description Usage Arguments Examples

View source: R/RcssWrappers.R

Description

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

Usage

1
points(x, y = NULL, 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::points

Examples

1
2
3
4
# draw a set of points onto an existing plot
plot(c(0, 1), c(0, 1), type="n")
points(runif(10), runif(10))
points(runif(10), runif(10), col="blue", pch=19)

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