Draw a line parallel to another

7 visualizzazioni (ultimi 30 giorni)
aya
aya il 24 Lug 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 Commenti
Jan
Jan il 24 Lug 2012
I've removed "Matlab" from the title and the tags: All questions in this forum concern Matlab.
aya
aya il 24 Lug 2012
thanks.. I am new here.. thanks for your help!

Accedi per commentare.

Risposta accettata

Jan
Jan il 24 Lug 2012
Modificato: Jan il 24 Lug 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.

Più risposte (0)

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by