3D point label a in plot
16 views (last 30 days)
Show older comments
SALIHU ABDULKADIR
on 9 Nov 2017
Commented: SALIHU ABDULKADIR
on 9 Nov 2017
how can I label a point in a 3D plot at x,y,z coordinates?
0 Comments
Accepted Answer
Benjamin Kraus
on 9 Nov 2017
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')
More Answers (0)
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!