Run addDrawPolyToolbar/addDrawPolyToolbar(axes_handle) to add a polygon ROI drawing button to the current/given axes (alternatively, run addDrawPolyToolbar([],{'roi','test'}) to create a test figure)
Press the button to interactively draw a polygon ROI
Press spacebar/enter to enable or disable the ROI masking of line objects
Moving/resizing the ROI automatically updates the masking
Press shift+s to save the current mask structure and the vertices coordinates to the workspace
Additional options included inside the function
引用格式
Vasilis Bellos (2026). addDrawPolyToolbar (https://ww2.mathworks.cn/matlabcentral/fileexchange/119518-adddrawpolytoolbar), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2022a
兼容 R2018b 到 R2022a 的版本
平台兼容性
Windows macOS Linux标签
| 版本 | 已发布 | 发行说明 | |
|---|---|---|---|
| 1.0.0 |
