View source: R/CRdraw_circle_n.R
CRdraw_circle_n | R Documentation |
Draws outline of a cirlce to rendering target, circle is defined in a circle_list as centerx, centery and radius. Precision is set by user (n_points) and determines how many line segments the circle's outline consists of.
CRdraw_circle_n(graphics_list, circle_list, n_points, status = NULL)
graphics_list |
List containing pointers to window, renderer etc. created with |
circle_list |
List defining circle, containing elements centerx, centery, and radius. |
n_points |
Positive integer setting precision of circle. |
status |
Optional list |
CRdraw_circle_n(mygraphics, list(centerx = 50, centery = 50, radius = 150), 7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.