Multiple Figures from Functions
16 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Ameer Hamza
le 25 Nov 2020
In the function, you will have statements like
figure(n); % n can be any number
Replace it with
figure()
Voir également
Catégories
En savoir plus sur Graphics Objects dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!