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 Exchange에서 Annotations에 대해 자세히 알아보기

질문:

2013년 4월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by