Plot Circles - R
Maybe your like
| circles.plot {smacpod} | R Documentation |
Plot circles
Description
plot.circles creates a plot with one or more circles (or adds them to an existing plot).
Usage
circles.plot( coords, r, add = FALSE, ..., nv = 100, border = NULL, ccol = NA, clty = 1, density = NULL, angle = 45, clwd = 1 )Arguments
| coords | A matrix of coordinates with the centroid of each circle. |
| r | A vector containing the radii of the circles. The length of r must equal the number of rows of coords. |
| add | A logical value indicating whether the circles should be added to an existing plot. Default is FALSE. |
| ... | Additional arguments passed to the plot function. |
| nv | Number of vertices to draw the circle. |
| border | A vector with the desired border of each circle. The length should either be 1 (in which case the border is repeated for all circles) or should match the number of rows of coords. |
| ccol | A vector with the desired color of each circle. The length should either be 1 (in which case the color is repeated for all circles) or should match the number of rows of coords. |
| clty | A vector with the desired line type of each circle. The length should either be 1 (in which case the line type is repeated for all circles) or should match the number of rows of coords. |
| density | A vector with the density for a patterned fill. The length should either be 1 (in which case the density is repeated for all circles) or should match the number of rows of coords. See polygon |
| angle | A vector with the angle of a patterned fill. The length should either be 1 (in which case the angle is repeated for all circles) or should match the number of rows of coords. See polygon |
| clwd | A vector with the desired line width of each circle. The length should either be 1 (in which case the line width is repeated for all circles) or should match the number of rows of coords. |
Author(s)
Joshua French
See Also
draw.circle, polygon
Examples
co = cbind(c(1, 2, 5, 6, 9), c(1, 2, 5, 6, 9)) r = c(1.25, 1.25, 1.25, 1.25, 1.25) # draw circles circles.plot(co, r) circles.plot(co, r, ccol = c("blue", "blue", "orange", "orange", "brown"), density = c(10, 20, 30, 40, 50), angle = c(45, 135, 45, 136, 90)) [Package smacpod version 2.6 Index]Tag » Add Circle R Plot
-
How To Draw A Circle In R? - Tutorialspoint
-
Draw Plot With Circle In R (3 Examples) - Statistics Globe
-
R: How To Draw Circles In Plots (With Examples) - - Statology
-
Drawing Circle In R - Plot - Stack Overflow
-
rcle Function - RDocumentation
-
How To Add Circles In Plots In R With Examples - Finnstats »
-
How To Add Circles Around Specific Data Points In R - GeeksforGeeks
-
How To Annotate A Plot With Circle In R - GeeksforGeeks
-
Draw A Circle In Plotrix: Various Plotting Functions
-
Draw Symbols (Circles, Squares, Stars, Thermometers, Boxplots)
-
R Plot Pch Symbols : The Different Point Shapes Available In R - STHDA
-
Draw Plot With Circle In R (3 Examples) | Base R & Plotrix Package ...
-
Circles Based On Center And Radius — Geom_circle • Ggforce