How do I plot a line showing the distance between two points?
Afficher commentaires plus anciens
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 commentaire
KSSV
le 6 Mar 2019
If you have to points in hand use plot...simple isn't it?
Réponses (1)
Agnish Dutta
le 18 Mar 2019
0 votes
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:
Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!