% Create a sphere matrix of 180x180 [x,y,z] = sphere(179); % load matlab topography database load topo; c = topo(1:180,1:2:360); ll = coast; % plot a globe with topography surf(x,y,z,c); shading('interp') axesm globe plotm(coast) axis equal axis off M=moviein(36); for i=10:10:360 view(i,45) M(i/10)=getframe(1,[100 20 380 380]); %[left bottom width height] end figure movie(M); movie2avi(M,'sping','fps',12) %