How can I animate this plot3?
12 ビュー (過去 30 日間)
古いコメントを表示
María Paulina Pantoja Gavidia
2021 年 3 月 3 日
編集済み: María Paulina Pantoja Gavidia
2022 年 5 月 29 日
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 件のコメント
回答 (1 件)
Walter Roberson
2021 年 3 月 3 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Animation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!