3D point label a in plot
16 次查看(过去 30 天)
显示 更早的评论
how can I label a point in a 3D plot at x,y,z coordinates?
0 个评论
采纳的回答
Benjamin Kraus
2017-11-9
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')
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!