Add existing figures onto of a new plot without using subplot
1 次查看(过去 30 天)
显示 更早的评论
Hi,
So I have a plot that something with a handle h(1) and h(2)
I would like to add 4 more figures onto of the existing figure (plot) at certain locations (without merging). These figures I would like to add is pre-made and saved as fig.
How do I add these figures to the existing figure plot?
2 个评论
采纳的回答
José-Luis
2014-10-2
编辑:José-Luis
2014-10-2
figure(1)
donor = axes;
plot(rand(10));
figure(2)
aH(1) = axes;
plot(aH(1),1:10);
aH(2) = axes('Position',[.7 .2 .15 .15],'box','on');
copyobj(allchild(donor),aH(2));
Modify to own taste.
更多回答(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!