plot_circ_points | R Documentation |
plot_circ_points
arranges a number of n
on a circle (defined by its origin coordinates and radius).
plot_circ_points(
n = 4,
x_org = 0,
y_org = 0,
radius = 1,
show_axes = FALSE,
show_label = FALSE,
...
)
n |
The number of points (or shapes defined by |
x_org |
The x-value of circle origin. |
y_org |
The y-value of circle origin. |
radius |
The circle radius. |
show_axes |
Show axes? Default: |
show_label |
Show a point label? Default: |
... |
Additional aesthetics (passed to |
The ...
is passed to points
of
the graphics package.
Other plot functions:
plot_charmap()
,
plot_chars()
,
plot_fn()
,
plot_fun()
,
plot_n()
,
plot_text()
,
plot_tiles()
,
theme_clean()
,
theme_ds4psy()
,
theme_empty()
plot_circ_points(8) # default
# with aesthetics of points():
plot_circ_points(n = 8, r = 10, cex = 8,
pch = sample(21:25, size = 8, replace = TRUE), bg = "deeppink")
plot_circ_points(n = 12, r = 8, show_axes = TRUE, show_label = TRUE,
cex = 6, pch = 21, lwd = 5, col = "deepskyblue", bg = "gold")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.