Can I copy a figure during runing ?
1 次查看(过去 30 天)
显示 更早的评论
I want to copy a figure during running the code But I stopped the running temporary and I want to copy the figure ,, so can I do that ?
2 个评论
采纳的回答
Walter Roberson
2022-8-25
Yes you can copy a figure during execution. functions such as exportgraphics() or savefig() or copyobj() can be called.
As usual if you saving as an image, drawnow() first.
Also if you are in the middle of configuring graphic objects, you may need to make them visible in order for proper sizing and layout to be done.
5 个评论
Image Analyst
2022-8-25
I don't believe that saves a screenshot. If you want a screenshot saved to an image file on disk you should use saveas or export_fig.
Walter Roberson
2022-8-26
"Copy Figure" to clipboard can be coded as
hgexport(gcf, '-clipboard')
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Printing and Saving 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!