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?

Réponses (1)

KSSV
KSSV le 11 Juil 2021

0 votes

Read about ginput, getpts.

2 commentaires

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Data Exploration dans Centre d'aide et File Exchange

Commenté :

le 11 Juil 2021

Community Treasure Hunt

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

Start Hunting!

Translated by