Creating movies from surface maps
Mostrar comentarios más antiguos
How can I create movies from figures produced with "surfacem" of the Maping Toolbox?
Thank you.
Respuestas (2)
Image Analyst
el 13 de Dic. de 2011
0 votos
6 comentarios
Jorge Ramirez
el 13 de Dic. de 2011
Oliver Woodford
el 13 de Dic. de 2011
Since the suggested approaches both save the figure as an image at each frame, the problem must therefore be that your figure to image conversion is introducing the errors you describe. Perhaps you can improve your question to be more specific about this.
Jorge Ramirez
el 13 de Dic. de 2011
Sean de Wolski
el 13 de Dic. de 2011
Have you tried using frame2im?
Sean de Wolski
el 13 de Dic. de 2011
What are sample lat/lon/Vul_P values we could use to replicate what you have?
Jorge Ramirez
el 13 de Dic. de 2011
Sean de Wolski
el 13 de Dic. de 2011
- Force the figure to be a certain size with units pixels, put a set of axes onto it in a certain position. Then use the rectangle second input to getframe to extract just the part you want. (You could also just guess and check a few times to figure out the part you want.
- To play the movie, set the various axes ticks to off so they don't show up, i.e:
figure;
axes;
set(gca,'xtick',[]);
set(gca,'ytick',[]);
movie(Md,5);
Categorías
Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!