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")

답변 (1개)

Walter Roberson
Walter Roberson 2021년 3월 3일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Animation에 대해 자세히 알아보기

질문:

2021년 3월 3일

편집:

2022년 5월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by