MATLAB Answers

Plotting distance values with lines

1 view (last 30 days)
Hi, I have this result. I have calculated the distance between centre(red) and all the scatter points. So i want to display those distance values with each corresponding line in the figure. Any idea guys...........

  0 Comments

Sign in to comment.

Accepted Answer

Star Strider
Star Strider on 18 Jun 2014
I’m not certain what you intend by ‘display’, but if you want the distances as numbers, perhaps near each point, I suggest you experiment with the text function.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!