How can I save multiple figures with partly same variable name?
7 次查看(过去 30 天)
显示 更早的评论
I want to save many figures in one script with partly the same name. Therefore I want to define a variable in the beginning and then have this part in the saving name of all figures with slightly different ending. For example:
name=('picture')
figure %1
surf(peaks)
savefig('Peaks' name '.fig') %Peakspicture.fig
figure %2
scatter(peaks)
savefig('scatterbla' picture '.fig') %scatterblapicture.fig
0 个评论
采纳的回答
更多回答(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!