メインコンテンツ

clear

trackingGlobeViewer のプロットをクリア

R2021b 以降

説明

clear(viewer) は、トラッキング グローブ ビューアーからすべてのグラフィックスを削除します。

すべて折りたたむ

トラッキング グローブ ビューアーを作成し、geoTrajectory をプロットします。

viewer = trackingGlobeViewer;
traj = geoTrajectory(Waypoints=[0 0 0; 25 25 0],TimeOfArrival=[0 36000]);
plotTrajectory(viewer,traj,Color=[1 0 0]);
campos(viewer,[21 17.5 1.7e7]);
drawnow
snapshot(viewer)

プロットをクリアし、結果を表示します。

clear(viewer)
snapshot(viewer)

入力引数

すべて折りたたむ

トラッキング グローブ ビューアー。trackingGlobeViewer オブジェクトとして指定します。 1

バージョン履歴

R2021b で導入


1 Alignment of boundaries and region labels are a presentation of the feature provided by the data vendors and do not imply endorsement by MathWorks®.