How plot a line segment with arrowhead?

20 visualizaciones (últimos 30 días)
N/A
N/A el 11 de Dic. de 2022
Comentada: Brian LaRocca el 27 de Nov. de 2024
Hey do I plot line segments like in this picture? And maybe could tell me someone how to do the arrows?

Respuestas (1)

Image Analyst
Image Analyst el 11 de Dic. de 2022
Editada: Image Analyst el 11 de Dic. de 2022
To plot arrows, you can use annotation
To plot line segments with no arrowheads, you can use line or plot
  4 comentarios
Brian LaRocca
Brian LaRocca el 27 de Nov. de 2024
Using annotate with data drawn using plot is awkward since the two do not share the same coordinate system.
Brian LaRocca
Brian LaRocca el 27 de Nov. de 2024
quiver and quiver3 get around this, but the arrows may not look that great. There should be a better solution.

Iniciar sesión para comentar.

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by