Borrar filtros
Borrar filtros

How can I draw a arrow

3 visualizaciones (últimos 30 días)
sina farahi
sina farahi el 9 de Abr. de 2014
Comentada: Robert Cumming el 10 de Abr. de 2014
How can I plot/draw a vector(with first point and it's length and direction) I want it with it's head(be arrow not only a line) an arrow by its location and size and direction

Respuestas (1)

Robert Cumming
Robert Cumming el 9 de Abr. de 2014
See annotation for drawing arrows.
  2 comentarios
sina farahi
sina farahi el 9 de Abr. de 2014
annotation('arrow',x,y) doesn't works ;how does it works(what are x & y) thanks
Robert Cumming
Robert Cumming el 10 de Abr. de 2014
x and y are the normalised co-ordinates of the start and end position:
f = figure;
ax = axes('parent', f);
annotation ( 'arrow', [0 1], [0.25 0.5] )

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by