Description Usage Arguments See Also Examples
Creates a function that draws a circle at given center with given diameter.
1 | makeCircleDrawer(xc, yc, D, col = rgb(0, 0, 0, 0.5), ...)
|
xc |
X center of the circle. |
yc |
Y center of the circle. |
D |
Diameter of the circle. |
col |
Color that should be used. |
... |
Arguments that are passed to |
1 2 3 4 | plot.new()
plot.window(c(-1.5, 1.5), c(-1.5, 1.5), asp=1)
fun <- makeCircleDrawer(0, 0, 1, 'black')
fun()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.