How can I animate my 3d surface like this?

Hi guys,
I want to present my data in a cool animated fashion as shown in this video: http://www.youtube.com/watch?v=JaMgi4XBjo8
Can this be done in MatLab? I'd be happy if the outputs were in form of a GIF or a movie?
Thank you

Respuestas (2)

Titus Edelhofer
Titus Edelhofer el 12 de Nov. de 2014
Hi,
take a look at the function
doc VideoWriter
which includes a simple example.
Titus

1 comentario

A
A el 18 de Nov. de 2014
So VideoWriter seems like a good tool.
But I'm not sure how to rotate my 'view' or 'camera' in such a smooth fashion as portrayed in the video above?
Thanks for your help

Iniciar sesión para comentar.

Image Analyst
Image Analyst el 18 de Nov. de 2014

0 votos

See attached demo where I make a movie from animation being done by the surf() function.

2 comentarios

To rotate your "camera", how about camorbit():
close all;
surf(peaks)
axis vis3d
for i=1:36
camorbit(10,0,'data',[0 1 0])
drawnow
pause(0.2);
end
Nitin Phadkule
Nitin Phadkule el 22 de Ag. de 2021
short and useful, helped me to use

Iniciar sesión para comentar.

Categorías

Más información sobre Animation en Centro de ayuda y File Exchange.

Preguntada:

A
A
el 12 de Nov. de 2014

Comentada:

el 22 de Ag. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by