CIRCLES was inspired by the built-in function VISCIRCLES; the two main differences being that it draws circles as a patch rather than a line and offers a bit more flexibility (I think) in terms of coloring the faces/edges.
The only required inputs are vectors for the X and Y coordinates of each circle and the corresponding radii R.
>> circles(x,y,r);
See the function header for additional details and a list of optional parameters. Run the demo script if you want to view sample results fast without writing any code yourself.
Cite As
Matthew Eicholtz (2026). circles (https://se.mathworks.com/matlabcentral/fileexchange/59244-circles), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
