MATLAB: 3D point label a in plot

3d points plot

how can I label a point in a 3D plot at x,y,z coordinates?

Best Answer

Sounds like you want to use the text command.
For example:
[X,Y] = meshgrid(-pi:pi/16:pi);
Z = cos(X).*sin(Y);
surf(X,Y,Z)
text(X(26,17),Y(26,17),Z(26,17)+0.1,'Peak')