12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

getframeExamplesMake the peaks function vibrate.Z = peaks; surf(Z)axis tightset(gca,'nextplot','replacechildren');for j = 1:20surf(sin(2*pi*j/20)*Z,Z)F(j) = getframe;endmovie(F,20) % Play the movie twenty timesSee Alsogetframe, frame2im, image, im2frame, movie, moviein2-212

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!