Rcssplot (version 1.0.0)

points: Add styled points to a plot

Description

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

Usage

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

Run this code
# NOT RUN {
# 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)

# }

Run the code above in your browser using DataLab