points: Add styled points to a plot

View source: R/RcssWrappers.R

pointsR Documentation

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


# 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 April 4, 2025, 2:35 a.m.