Save Figures to One Folder
显示 更早的评论
I want to save multiple figures to the same folder, with the name of figure_1, figure_2, etc.
Here is the code: x = 1:5;
y = [1,1,1,1,1]
z = [2,2,2,2,2]
a = [3,3,3,3,3]
b = [4,4,4,4,4]
c = [5,5,5,5,5]
figure;
plot(x,y)
figure;
plot(x,z)
figure;
plot(x,a)
figure;
plot(x,b)
figure;
plot(x,c)
采纳的回答
更多回答(1 个)
venkata reddy kopparthi
2018-7-12
编辑:venkata reddy kopparthi
2018-7-12
0 个投票
- we can save current open figure by saveas library
- saveas(gcf,'<path>\figure_name.jpg');
1 个评论
Tanziha Mahjabin
2020-2-17
Hi,
i have already saved figures in a folder. how can i make a gif in matlab combining all of them?
类别
在 帮助中心 和 File Exchange 中查找有关 Graphics Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!