Creating movies from surface maps
Afficher commentaires plus anciens
How can I create movies from figures produced with "surfacem" of the Maping Toolbox?
Thank you.
Réponses (2)
Image Analyst
le 13 Déc 2011
0 votes
6 commentaires
Jorge Ramirez
le 13 Déc 2011
Oliver Woodford
le 13 Déc 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
le 13 Déc 2011
Sean de Wolski
le 13 Déc 2011
Have you tried using frame2im?
Sean de Wolski
le 13 Déc 2011
What are sample lat/lon/Vul_P values we could use to replicate what you have?
Jorge Ramirez
le 13 Déc 2011
Sean de Wolski
le 13 Déc 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);
Catégories
En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!