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?

Answers (1)

KSSV
KSSV on 11 Jul 2021
Read about ginput, getpts.

2 Comments

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

Sign in to comment.

Categories

Asked:

on 11 Jul 2021

Commented:

on 11 Jul 2021

Community Treasure Hunt

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

Start Hunting!