Multiple Figures from Functions
조회 수: 2 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (1개)
Ameer Hamza
2020년 11월 25일
In the function, you will have statements like
figure(n); % n can be any number
Replace it with
figure()
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!