powered by
Draws a circle in data coordinates, so it will be a circle if the aspect ratio of the plot is 1, or else it will be appear as an ellipse.
drawCircle(x, y, radius, nv = 100, border = NULL, col = NA, lty = 1, lwd = 1)
invisibly, the x and y points of the drawn circle
x-coordinate of circle center
y-coordinate of circle center
radius of circle
how many plotted segments
polygon border
line color
line type
line width
Chloe Bracis <cbracis@uw.edu>
This function is useful to display a representative circle with the specified radius on a plot of revisits.
plot.recurse
data(martin) revisits = getRecursions(martin, radius = 1) plot(revisits, martin, legendPos = c(10, -15)) drawCircle(10, -10, 1)
Run the code above in your browser using DataLab