open/create a figure behind another
1 次查看(过去 30 天)
显示 更早的评论
Hi, just as the title says, would it be possible? I know I can create/open a figure then focus/select the main figure, but thats not what I want to do.
Thank you
0 个评论
采纳的回答
Sean de Wolski
2013-6-19
%First figure
figure(1);
set(1,'units','normalized','position',[0.1 0.2 0.6 0.4]);
plot(rand(1,10));
%Open the seocnd figure;
figure(2);
set(2,'units',get(1,'units'),'position',get(1,'position'));
surf(peaks);
%Give focus back to the first
figure(1);
更多回答(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!