circle: circle draws a circle with a given origin and radius

View source: R/rutils.R

circleR Documentation

circle draws a circle with a given origin and radius

Description

circle provides the means of drawing a circle of a given radius and origin within a diagram ready for the addition of text.

Usage

circle(origx = 50, origy = 50, radius = 10, col = 1, lwd = 1)

Arguments

origx

the final x origin

origy

the final y origin

radius

the radius of the circle

col

the col of the circle

lwd

the line width of the circle

Value

the matrix of x and y values invisibly

Examples

  makecanvas()
  circle(origx=35,origy=70,radius=30,lwd=2,col=1)
  circle(origx=65,origy=60,radius=30,lwd=2,col=2)
  circle(origx=45,origy=40,radius=30,lwd=2,col=4)

haddonm/rutilsMH documentation built on July 21, 2023, 8:46 p.m.