subplot in loop and save final figure, when clear all used after each loop
4 ビュー (過去 30 日間)
古いコメントを表示
for a=1:24 body subplot(24,6,a) clear all; end
please help;
回答 (1 件)
Jos (10584)
2016 年 6 月 23 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Subplots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!