encircle {StratigrapheR} | R Documentation |
Draws circles
Description
Draws circles
Usage
encircle(
r = 1,
x = 0,
y = 0,
ndiv = 360,
plot = TRUE,
add = TRUE,
output = FALSE,
...
)
Arguments
r |
the radius of the circles (of length 1 or n) |
x |
the x value of the centre of the circles (of length 1 or n) |
y |
the y value of the centre of the circles (of length 1 or n) |
ndiv |
the number of segments making the circles |
plot |
whether to plot the circles |
add |
whether to add to an existing plot |
output |
whether to return an output |
... |
graphical parameters to feed to lines |
Value
a list of x and y matrices having n rows, one for each circle
Examples
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))
[Package StratigrapheR version 1.3.1 Index]