circles {Boom}R Documentation

Draw Circles

Description

Draw circles on the current graphics device.

Usage

circles(center, radius, ...) 

Arguments

center

A two-column matrix giving the coordinates of the circle center. If a single circle is to be drawn then a 2-element vector can be passed instead.

radius

The radii of the circles. A scalar value will be repeated if center is a matrix with more than one row.

...

Extra arguments passed to 'segments'. See par for options controlling line type, line width, color, etc.

Details

Draws circles on the current graphics device. This is a low-level plotting function similar to points, lines, segments, etc.

Value

Returns invisible NULL.

Author(s)

Steven L. Scott steve.the.bayesian@gmail.com

Examples

  plot(1:10, type = "n")
  circles(cbind(c(2, 3, 4), c(4, 5,6 )), radius = c(.3, .4, .5))

[Package Boom version 0.9.15 Index]