How to create and export a GIF with uifigure?

3 vues (au cours des 30 derniers jours)
Giuseppe
Giuseppe le 12 Juin 2021
Hi guys, I've created and interactive geographic window in my code by using the following code:
uif = uifigure;
globe= geoglobe(uif);
spheroid = referenceEllipsoid('World Geodetic System 1984');
% Trajectory of CoG
fig_traj_3D = geoplot3(globe,vLat,vLon,vAltitude,'LineStyle',"-",'LineWidth',1.2,'Color','r');
I want to export this graphic window as an animated GIF. Is it possible?
If yes, how can I do?

Réponse acceptée

Adam Danz
Adam Danz le 12 Juin 2021
Since the animation is not controlled within a loop, I think you're stuck with using 3rd party screen recorders. I recommend screen-to-gif. It's free and simple to use: https://www.screentogif.com/

Plus de réponses (0)

Catégories

En savoir plus sur Geographic Plots dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by