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!