viscircles
Draw circles.
📝Syntax
viscircles(centers, radii)
viscircles(ax, centers, radii)
viscircles(..., 'Color', c)
viscircles(..., 'LineWidth', w)
h = viscircles(...)
📥Input Arguments
Parameter Description
centers an N-by-2 matrix of circle centers [x y].
radii a scalar or an N-element vector of circle radii.
ax the target axes.
📤Output Arguments
Parameter Description
h the group object containing the drawn circles.
📄Description

viscircles draws circles with the given centers and radii on the axes. The colour (default red) and line width are set with the 'Color' and 'LineWidth' name-value arguments.

💡Examples
f = figure();
axis equal
viscircles([0 0; 2 1], [1; 0.5], 'Color', 'b');
🔗See Also
line
🕔Version History
Version Description
2.0.0 Initial version.
Edit this page on GitHub