subplot in loop and save final figure, when clear all used after each loop
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
for a=1:24 body subplot(24,6,a) clear all; end
please help;
2 Commenti
Risposte (1)
Jos (10584)
il 23 Giu 2016
Generally the use of clear all is not to be recommended, except at the beginning of a script. You can use CLEARVARS to free memory, which makes your code also much more readable.
4 Commenti
Vedere anche
Categorie
Scopri di più su Subplots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!