How to merge figures in one another?
1 回表示 (過去 30 日間)
古いコメントを表示
I have two different figures : figure(1); and figure(2); I want these to be merged into a figure(3) to be shown together.
How to ?
0 件のコメント
回答 (1 件)
LISSA DUVVU
2020 年 11 月 20 日
h1=openfig('figure1','reuse');
ax1=gca;
h2=openfig('figure2','reuse');
ax2=gca;
%%figure 3%%
s1=subplot(2,1,1)
s2=subplot(2,1,2)
fig1=get(ax1,'children');
fig2=get(ax2,'children');
copyobj(fig1,s1);
copyobj(fig2,s2);
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!