Drawing lines like streamslice

4 visualizaciones (últimos 30 días)
Frederick Papazyan
Frederick Papazyan el 18 de Sept. de 2019
Respondida: Priyanshu Mishra el 20 de Sept. de 2019
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
  2 comentarios
darova
darova el 18 de Sept. de 2019
You mean this?
1Untitled.png
Frederick Papazyan
Frederick Papazyan el 18 de Sept. de 2019
Yes!

Iniciar sesión para comentar.

Respuesta aceptada

darova
darova el 20 de Sept. de 2019
Explanations:
111Untitled.png
result
img1.png
See attached script

Más respuestas (1)

Priyanshu Mishra
Priyanshu Mishra el 20 de Sept. de 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:

Categorías

Más información sobre Vector Fields en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by