Draw a line parallel to another

6 views (last 30 days)
aya
aya on 24 Jul 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 Comments
Jan
Jan on 24 Jul 2012
I've removed "Matlab" from the title and the tags: All questions in this forum concern Matlab.
aya
aya on 24 Jul 2012
thanks.. I am new here.. thanks for your help!

Sign in to comment.

Accepted Answer

Jan
Jan on 24 Jul 2012
Edited: Jan on 24 Jul 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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!