How can I merge a created rectangle with an image?
1 回表示 (過去 30 日間)
古いコメントを表示
I used the rectangle command to place a rectangle over an image I loaded. How to I save what is displayed in the window as a single image?
I realize I could use inserShape but this doesn't allow me to get a rectangle with curved edges.
0 件のコメント
採用された回答
その他の回答 (1 件)
Kaitlyn Keil
2018 年 7 月 2 日
I believe you can use
savefig(figHandle, 'NewFigureName.fig')
if you want the image, or use the File>Save As route in the figure window if you want a different filetype. Here's the documentation for savefig .
Hope that helps!
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!