Erratic data cursor behavior for triangulated 3d surfaces in MATLAB R2011b
问题 I'm seeing erratic behavior from the data cursor in MATLAB R2011b when applied to plots of triangulated 3d surfaces: Clicking on certain points selects completely different points instead. Example with a cylinder: [r, phi, h] = meshgrid(1, 0:pi/10:2*pi, 0:0.05:1); x = r.*cos(phi); y = r.*sin(phi); z = h; xyz = [x(:) y(:) z(:)]; tri = delaunay(xyz); trimesh(tri, xyz(:,1), xyz(:,2), xyz(:,3), ... 'LineStyle', 'none', 'Marker', '.', 'MarkerSize', 30) view(-37, 28) Then enable data cursor mode