Quantcast
Viewing latest article 12
Browse Latest Browse All 15

Re: merging existing .fig into the same figure

This should work. You will get more than one child if there is more than one thing plotted or an annotation, etc.



gu = open('gugu.fig');
gu_ax = gca;
lu = open('lulu.fig');
lu_ax = gca;

figure; % The new figure
P = subplot(1,2,2);
copyobj(get(gu_ax,'children'),P)
P = subplot(1,2,1);
copyobj(get(lu_ax,'children'),P)

Viewing latest article 12
Browse Latest Browse All 15

Trending Articles