hi i want to save images

1 回表示 (過去 30 日間)
Ali Ghazzawi
Ali Ghazzawi 2020 年 8 月 10 日
回答済み: KSSV 2020 年 8 月 10 日
can you help me i want to save 44 images of 44 different plots with one singal run is it possible?
  2 件のコメント
KSSV
KSSV 2020 年 8 月 10 日
You have to run a loop.
Ali Ghazzawi
Ali Ghazzawi 2020 年 8 月 10 日
i know but is there a command to save images? because the commands that i know just display them and i have to save them manualy which takes a lot of time

サインインしてコメントする。

採用された回答

KSSV
KSSV 2020 年 8 月 10 日
for i = 1:44
h=figure ;
plot(rand(1,10)) ;
saveas(h,sprintf('FIG%d.png',i)); % will create FIG1, FIG2,...
end

その他の回答 (0 件)

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by