MATLABで3Dで線や矢印を描く方法

チューブプロットとmArrow3というのを組み合わせると下のような図が描ける。

f:id:imakov:20211010164225j:plain

チューブプロット(tubeplot)

チューブプロットできるコードはFileExchangeにある: http://www.mathworks.com/matlabcentral/fileexchange/5562-tubeplot

このFileExchangeのtubeplotを作った人のホームページが次のURL: http://www.aleph.se/Nada/Ray/Tubeplot/tubeplot.html

チューブプロットを使った例

f:id:imakov:20211010164120j:plain

3Dの矢印

mArrow3というのはFileExchangeの次の場所から入手できる。 http://www.mathworks.com/matlabcentral/fileexchange/25372-marrow3-m-easy-to-use-3d-arrow