Select graphics object for data cursor
显示 更早的评论
I've got this plot in which I visualize a transparent 3D surface (using patch) and a few data points on or below this surface. I now want to use the data cursor to access the coordinates of these data points. How can I make sure that when I click a position, the cursor jumps to the [x,y,z] of the nearest data point instead of the nearest [x,y,z] of the surface? Especially for data point below the surface the latter happens quite often, which is quite annoying. I tried datacursormode, but to me it seems as if a data cursor is associated with a figure rather than (one of) the graphics object(s) in this figure. Does this mean I cannot make the data cursor sensitive to only the data point (created by plot3) and not to the surface?
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!