How do I plot a line showing the distance between two points?

21 ビュー (過去 30 日間)
María Peñas Leonor
María Peñas Leonor 2019 年 3 月 6 日
回答済み: Agnish Dutta 2019 年 3 月 18 日
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
KSSV 2019 年 3 月 6 日
If you have to points in hand use plot...simple isn't it?

サインインしてコメントする。

回答 (1 件)

Agnish Dutta
Agnish Dutta 2019 年 3 月 18 日
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:

カテゴリ

Help Center および File ExchangeImages についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by