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

105 ビュー (過去 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 件のコメント
Neha Sinha
Neha Sinha 2019 年 1 月 20 日
I want the specific co-ordinates to be automatically displayed on the plot when the graph is displayed after running the code.

サインインしてコメントする。

その他の回答 (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 Center および File Exchange2-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