Add existing figures onto of a new plot without using subplot

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
José-Luis 2014 年 10 月 2 日
Could you show an example of what you want to achieve?
Lizan
Lizan 2014 年 10 月 2 日
Here is an example...

サインインしてコメントする。

 採用された回答

José-Luis
José-Luis 2014 年 10 月 2 日
編集済み: José-Luis 2014 年 10 月 2 日

0 投票

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.

2 件のコメント

Lizan
Lizan 2014 年 10 月 2 日
How do I import saved figures?
José-Luis
José-Luis 2014 年 10 月 2 日
編集済み: José-Luis 2014 年 10 月 2 日
doc open
Example:
open('/path/to/fig/your_fig.fig')
To get the axes handle once your figure is opened and active:
aH = gca;
Please accept the best answer that solves your problem.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGraphics Object Properties についてさらに検索

タグ

質問済み:

2014 年 10 月 2 日

編集済み:

2014 年 10 月 2 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by