How to display all figures
91 次查看(过去 30 天)
显示 更早的评论
Hello,
when I run my matlab m file. Only the last plotted figure displayed. May I know what should I do in order to display all figure plotted in the matlab script.
0 个评论
采纳的回答
Azzi Abdelmalek
2013-6-24
编辑:Azzi Abdelmalek
2013-6-24
%each plot in one figure
figure(1)
plot(x1,y1)
figure(2)
plot(x2,y2)
%and so on
%All plot in one figure
figure
hold on
plot(x1,y1)
plot(x2,y2)
%and so o
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!