Drawing lines like streamslice

5 views (last 30 days)
Hi All,
I was wondering how to plot lines like streamslice does (preferably in a 3D environment). In other words, I would like to draw lines with arrowheads along it.Thanks in advance!
- Freddie

Accepted Answer

darova
darova on 20 Sep 2019
Explanations:
111Untitled.png
result
img1.png
See attached script

More Answers (1)

Priyanshu Mishra
Priyanshu Mishra on 20 Sep 2019
Hi Freddie,
For drawing a line with arrowhead, you can use quiver plot. For more information and examples regarding this you may refer to the documentation of quiver command.
Since, I am not aware of your application, I am sharing a similar query. You may refer to the file exchange shared in the question:

Categories

Find more on Vector Fields in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!