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

51 Ansichten (letzte 30 Tage)
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?

Akzeptierte Antwort

Steven Lord
Steven Lord am 17 Jan. 2019
Do you want to place some text there using the text function?
  1 Kommentar
Neha Sinha
Neha Sinha am 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

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

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by