Help me collect selected data point values

Hi,
I've a plot3() point cloud. When I hoover my mouse over an individual marker Matlab shows the x y and z values in a tool tip. I want to collect these values but have been unsuccessful. Can someone help me with this?

回答 (1 件)

KSSV
KSSV 2021 年 7 月 11 日

0 投票

Read about ginput, getpts.

2 件のコメント

Yohann Payet
Yohann Payet 2021 年 7 月 11 日
Thanks for your response.
I have looked at those options but they return 2d coordinates and I need it to be 3d.
KSSV
KSSV 2021 年 7 月 11 日
With those two points, get the indices using knnsearch and extract third coordinate also.

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

カテゴリ

ヘルプ センター および File ExchangeData Exploration についてさらに検索

質問済み:

2021 年 7 月 11 日

コメント済み:

2021 年 7 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by