Borrar filtros
Borrar filtros

Closest point on a 3D plot to current mouse coordinates

1 visualización (últimos 30 días)
amatuercoder
amatuercoder el 11 de Jun. de 2021
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.

Respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by