Draw a line parallel to another

7 visualizaciones (últimos 30 días)
aya
aya el 24 de Jul. de 2012
How can I draw a line that is parallel to another and passing thru 1 point on matlab? I have the graph only.. till now i made no hand calculations.. am trying to avoid the hand calculations.. any ideas please?
Thanks, Aya,
  2 comentarios
Jan
Jan el 24 de Jul. de 2012
I've removed "Matlab" from the title and the tags: All questions in this forum concern Matlab.
aya
aya el 24 de Jul. de 2012
thanks.. I am new here.. thanks for your help!

Iniciar sesión para comentar.

Respuesta aceptada

Jan
Jan el 24 de Jul. de 2012
Editada: Jan el 24 de Jul. de 2012
The imline command allows for drawing a line onto the original line in the image. Then obtain the slope of the created line and use this to draw a new line through the wanted point.
If you explain, how your point is defined and what exactly "hand calculations" are, a more detailed answer is possible.

Más respuestas (0)

Categorías

Más información sobre Resizing and Reshaping Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by