Multiple Figures from Functions

17 次查看(过去 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