三次元グラフ上において、特定の1つだけをプロットしたい
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
三次元グラフ上において、特定の1つの点だけをプロットしたいと考えています。
そのような場合、どのようにプログラムを作成したらよいのでしょうか。
また、for文を用いて、1つずつプロットをしていくことを繰り返し、
プロットされた順番が分かるように矢印で結んでいくことは可能でしょうか。
0 Kommentare
Akzeptierte Antwort
Atsushi Ueno
am 5 Dez. 2021
>三次元グラフ上において、特定の1つの点だけをプロットしたい
x = 0; y = 0; z = 0;
plot3(x, y, z, '-o');
>for文を用いて、1つずつプロットをしていくことを繰り返し、プロットされた順番が分かるように矢印で結んでいく
old = 0;
for cor = 1:1:3
vectarrow([old old old],[cor cor cor]);
hold on;
old = cor;
end
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2 次元および 3 次元プロット finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
