Create Circles

Create circles and other shapes with the mouse.

您现在正在关注此提交

Lets you create a circle with N points in the current figure. Use the mouse to indicate the center and adjust the radius. Press ENTER to confirm the shape and output its X and Y values. The N parameter is optional. Default 20.
N = 3 can be used to draw triangles, N = 4 to draw squares etc.

Uses parts of getrect and getline (c) The MathWorks, inc.

引用格式

J.A. Disselhorst (2026). Create Circles (https://ww2.mathworks.cn/matlabcentral/fileexchange/20319-create-circles), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: draw

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0

edit: inspired by