powered by
Draw a Circle
circle(x, y, radius, ..., n = 100)
A length-one numeric vector giving the coordinates of the center of the circle.
numeric
A length-one numeric vector giving the radius of the circle.
Further parameters to be passed to graphics::polygon().
graphics::polygon()
A length-on integer vector specifying the number of vertices to draw the circle.
integer
N. Frerebeau
Other graphic tools: inch2line(), label_auto(), label_percent()
inch2line()
label_auto()
label_percent()
if (FALSE) { plot(NA, xlim = c(-1, 1), ylim = c(-1, 1), axes = FALSE, ann = FALSE, asp = 1) circle(0, 0, 0.5) }
Run the code above in your browser using DataLab