A simple matlab script to generate a sequence of images: str=CARPETListDatasetHDF5('data','rho',0) h=figure('Position',[100 100 800 600]) for i=1:100 data=CARPETLoadDatasetHDF5(str,i) figure(h) CARPETcontourfZ(data,0) namefile=['imageXY' num2str(100+i)] print(h,'-dpng',namefile) end For the movies, if you have mplayer installed with the necessary codecs, go in a shell and use something like: mencoder "mf://imageXY*.png" -o movie.avi -ovc lavc -lavcopts vcodec=msmpeg4v2 -mf fps=1 % the fps are the frames per second Enjoy your movie: mplayer movie.avi Useful commands: (look at the documentation) light,view,quiver.