LoginSignup
4
5

More than 5 years have passed since last update.

プロットした画像を表示せずに保存する。

Last updated at Posted at 2013-05-10

プロットした画像群をひたすら保存したい時、わざわざ画像が表示されるのが煩わしい時があります。
そんな時は以下のコマンドで一発解決。

%figureのvisibleプロパティをoffにすればおk.
f_handle = figure('visible', 'off');

%plot,peaksなど、画像の描画。
peaks;

saveas(f_handle, 'image%05d.jpg', i);
4
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
5