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

102 次查看(过去 30 天)
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?

采纳的回答

Steven Lord
Steven Lord 2019-1-17
Do you want to place some text there using the text function?

更多回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by