Delete all figures, lines and plots

Hi all,
I have a code which merges a plot, with several lines and an imagesc figure. I have to generate several images where the imagesc figure changes but the rest of plot and lines are the same. I'm using a for loop in order to generate several figures. The first merged figure is generated properly but the following ones are not. I would like to delete all figure, plot and lines each iteration. how can do it?
If tried with close('all','hidden') but it doesn't work.
Could somebody help me?
Thanks a lot.
Raúl.

1 件のコメント

Image Analyst
Image Analyst 2013 年 4 月 10 日
Uploading a screenshot would help illustrate your situation.

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

 採用された回答

Jan
Jan 2013 年 4 月 10 日
編集済み: Jan 2013 年 4 月 10 日

0 投票

Simply close ore delete the figure(s), because the contained objects are deleted automatically also.

その他の回答 (0 件)

カテゴリ

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

質問済み:

2013 年 4 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by