Akzeptierte Antwort

Benjamin Kraus
Benjamin Kraus am 9 Nov. 2017

0 Stimmen

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')

1 Kommentar

SALIHU ABDULKADIR
SALIHU ABDULKADIR am 9 Nov. 2017
Thanks a lot. I actually wanted to try that on a 3D point cloud.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by