How can I animate this plot3?
16 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
María Paulina Pantoja Gavidia
am 3 Mär. 2021
Bearbeitet: María Paulina Pantoja Gavidia
am 29 Mai 2022
I did this plot using the mapping toolbox but I cannot animated it, can somebody help me?
figpos = [1000 500 800 400];
uif = uifigure("Position",figpos);
ug = uigridlayout(uif,[1,2]);
p2 = uipanel(ug);
gg = geoglobe(p2);
geoplot3(gg,Lat,Lon,Alt,"c","LineWidth",2,"HeightReference","geoid")
hold(gx,"on")
0 Kommentare
Antworten (1)
Walter Roberson
am 3 Mär. 2021
geoplot3() returns a line object. You can pull the XData, YData, ZData coordinates out of the line object and delete the line object, and then construct animatedline() and loop through adding points to the line to animate it.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Animation finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!