Effacer les filtres
Effacer les filtres

How to display the x and y coordinates of specific points on the plotted graph in matlab??

36 vues (au cours des 30 derniers jours)
After plotting a graph with the given values how can we display the x and y coordinates of some points on the graph automatically without placing the cursor there?
Is there any function to enter the points whose coordinates are to be displayed?

Réponse acceptée

Steven Lord
Steven Lord le 17 Jan 2019
Do you want to place some text there using the text function?
  1 commentaire
Neha Sinha
Neha Sinha le 20 Jan 2019
I want the specific co-ordinates to be automatically displayed on the plot when the graph is displayed after running the code.

Connectez-vous pour commenter.

Plus de réponses (1)

Afshin Aghayan
Afshin Aghayan le 8 Oct 2019
you can use this code for displaying any data in the form of [x, y, f(x,y)] or data with coordinate

Catégories

En savoir plus sur 2-D and 3-D 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!

Translated by