How do I plot a line showing the distance between two points?
显示 更早的评论
I want to show the line that conects two points (the minimun distance between them) in an image.
How can I do it?
Thanks!
1 个评论
KSSV
2019-3-6
If you have to points in hand use plot...simple isn't it?
回答(1 个)
Agnish Dutta
2019-3-18
0 个投票
You can use the 'line' function to plot lines on existing axes. Refer to the following document for the same:
For further reference, you can use this ML answers page with a verified respose:
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!