Reading a value on a 3d plot, as the cursor is moving

1 回表示 (過去 30 日間)
Thishan Dharshana Karandana Gamalathge
Hello,
Using "surf" I was able to make a 3d plot of x,y,z. Now I want to know how to read the z value corresponding to the (x,y) position when I bring the cursor. Please let me know.
Thanks, Thishan

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 7 月 6 日
In the figure, click on the sort of plus sign to the left of the paint brush.
To turn on the feature by way of your program, use datacursormode()
  1 件のコメント
Thishan Dharshana Karandana Gamalathge
Thanks. But I am confused about using datacursormode()

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

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by