Mercurial > repos > public > sbplib
view +anim/setup_fig_mov.m @ 26:ed6a704b028d
Made some changes to error functions and comparison functions before finalizing convergence script.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 25 Sep 2015 14:54:26 +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