Answer/Solution:
- Get Co-Ords of the Points that you wish to join.
 - Calculate length of a every line segment.
 - Calculate absolute Co-Ords of the each pixel using linspace.
 - Use X and y Co-ords to draw Plot.
 

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