Function producing two figure
24 次查看(过去 30 天)
显示 更早的评论
Hye, I made a function who gives 6 plot. I know how to post them all in one figure by using subplot. But I would like to post them on two figure. Two plot on the first figure and four on the second.
0 个评论
采纳的回答
Friedrich
2011-7-19
Hi,
do the following
figure
subplot(1,2,1)
%plot
subplot(1,2,2)
%plot
figure
subplot(2,2,1)
%plot
subplot(2,2,2)
%plot
subplot(2,2,3)
%plot
subplot(2,2,4)
%plot
1 个评论
Jan
2011-7-19
@Friedrich: You are creating two figures by calling the command FIGURE twice. Sometimes the best solutions are a kind of straight. +1
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!