prevent figures from closing when running new script

My proplem is simple:
I have two different scripts, representing two different approaches to the same physical problem, each producing a graph, which ideally should look very similar.
So for comparing these figures, I want to run those two scripts and see the figures next to each other. Problem is, when I start running the second script, the figure generated by the first script closes automatically. (using the figure command before plot does not seem to help). Is there a way to keep all figures open?

 채택된 답변

Wouter
Wouter 2017년 3월 3일

0 개 추천

Ok, I had a close all command at the beginning of my script, removing that solved the issue

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

질문:

2017년 3월 3일

답변:

2017년 3월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by