Multiple Figures from Functions

조회 수: 2 (최근 30일)
Fin Christie
Fin Christie 2020년 11월 25일
댓글: Fin Christie 2020년 11월 25일
Hello, I have a function that produces two figures when it is run. However, in my execution script, I intend to run this function twice ultimately producing 4 figures. How can I stop the second run of the function overwriting the previous 2 figures?

답변 (1개)

Ameer Hamza
Ameer Hamza 2020년 11월 25일
In the function, you will have statements like
figure(n); % n can be any number
Replace it with
figure()
  댓글 수: 1
Fin Christie
Fin Christie 2020년 11월 25일
Sorry, this did not solve the issue unfortunately - thanks for your help though

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Graphics Objects에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by