Mercurial > repos > public > sbplib
view +anim/setup_fig_mov.m @ 39:7249f105e67b
Added silent option to noname.testCfl.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 09 Oct 2015 10:52:42 +0200 |
parents | 48b6fb693025 |
children | 480ef676742f |
line wrap: on
line source
function save_frame = setup_fig_mov(figure_handle,dirname) fresh_dir(dirname) frame_nr = 0; function save_frame_F() saveas(figure_handle,sprintf('%s/%s%04d.png',dirname,'fig',frame_nr)); frame_nr = frame_nr + 1; end save_frame = @save_frame_F; end