% Axes settings
axis vis3d equal;
view([0,0]);
grid off; axis off;
xlim([-5,10]);
ylim([-2,8]);
zlim([-30,15]);


% FLAG: choose f = 1 if want to show 5 pt stencil, 0 otherwise
f = 1;

% put together the file name
filename='an_nat_ord_5x5'; % base file name
if( f==1 )
    filename = [ filename '_5pt']; % with 5 pt stencil
else
    filename = [ filename '_no5pt']; % without 5 pt stencil
end
filename=[ filename '.avi']; % .avi extension

[~,N] = b00(f,1);

cla
[~,M0] = b00(f,1);

cla
[~,M1] = b01(f,1);

cla
[~,M2] = b02(f,1);

cla
[~,M3] = b03(f,1);

cla
[~,M4] = b04(f,1);

cla
[~,M5] = b05(f,1);

cla
[~,M6] = b06(f,1);

cla
[~,M7] = b07(f,1);

cla
[~,M8] = b08(f,1);

cla
[~,M9] = b09(f,1);


M = [M0, M1, M2,M3,M4,M5,M6,M7,M8,M9];

movie2avi(M, filename ,'quality',10);
