Closest point on a 3D plot to current mouse coordinates

12 visualizzazioni (ultimi 30 giorni)
I have a 3D-curve plotted in a matlab figure window (I have X,Y,Z coordinates of points on the 3D curve). I am trying to get matlab to determine the closest data point, on that line, in relation to whereever my mouse is located on the screen. The end goal is to get matlab to rotate the figure, with my mouse, about the point on this 3D curve that I'm currently looking at in the matlab figure window. The way it seems to work now is that matlab will rotate the figure about a point on the viewing plane of the figure. Thanks for your help.

Risposte (0)

Categorie

Scopri di più su Graphics Object Identification in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by