How can make arrows into the line step by step?
2 ビュー (過去 30 日間)
表示 古いコメント
if true
% code
end
採用された回答
jonas
2018 年 10 月 20 日
編集済み: jonas
2018 年 10 月 20 日
What you see on the figure is a quiver3 plot, where the arrows describe velocity. You did not provide any velocity data, but you can make an arrow between every point in your plot as follows:
u = diff(x);
v = diff(y);
w = diff(z);
quiver3(x(1:end-1),y(1:end-1),z(1:end-1),u,v,w)
It is probably best to reduce the amount of data points, because you do not want 1500 arrows in your plot.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!