How do I plot a line showing the distance between two points?
2 vues (au cours des 30 derniers jours)
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
Réponses (1)
Agnish Dutta
le 18 Mar 2019
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:
0 commentaires
Voir également
Catégories
En savoir plus sur Line Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!