powered by
Draws circles
encircle(r = 1, x = 0, y = 0, ndiv = 360, plot = TRUE, add = TRUE, output = FALSE, ...)
the radius of the circles (of length 1 or n)
the x value of the centre of the circles (of length 1 or n)
the y value of the centre of the circles (of length 1 or n)
the number of segments making the circles
whether to plot the circles
whether to add to an existing plot
whether to return an output
graphical parameters to feed to lines
a list of x and y matrices having n rows, one for each circle
# NOT RUN { plot(0, 0, xlim = c(-1,1), ylim = c(-1,1), asp = 1) encircle(lwd = 2) encircle(r = seq(0.1,0.9,0.1)) # }
Run the code above in your browser using DataLab