Learn R Programming

Rmisc (version 1.5.1)

panel.circle: Circle Drawing

Description

A panel function for drawing circles.

Usage

panel.circle(x, y, r, segments = 50L, groups = NULL, ...)

Arguments

x

The x coordinate of the circle center

y

The y coordinate of the circle center

r

The radius of the circle

segments

The number of polygon segments used to create the circle

groups

A factor defining groups

...

Additional arguments passed to panel.polygon

Examples

Run this code
# NOT RUN {
panel.circle(0, 0, 10)
# }

Run the code above in your browser using DataLab