rectangle: rectangle

Description Usage Arguments Examples

Description

Add a rectangle to a plot.

Usage

1
rectangle(x, y, w, h, ...)

Arguments

x

Numeric lower left corner x coordinate

y

Numeric lower left corner y coordinate

w

Numeric width of the rectiangle

h

Numeric height of the rectiangle

...

Arguments to be fed to polygon

Examples

1
2
3
plot.new()
plot.window(xlim = c(-1, 1), ylim = c(-1, 1))
circle(-0.5, -0.5, 1, 1)

ram6ler/transparent documentation built on May 26, 2019, 10:03 p.m.