Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
|
![]() |
#1 |
高级会员
注册日期: 2019-11-21
帖子: 3,006
声望力: 66 ![]() |
![]()
如何显示映射在图像上的x,y坐标?
x = 12; y = 54; plot(x,y,'+ b'); % this show only the "+" symbol. How to show the both coordinate and the "+" 替代文字http://www.freeimagehosting.net/image.php?1dcb46de7a.jpg 回答: 这应该可以解决问题(可能需要对坐标进行一些调整): text(x,y,['(', num2str(x), ', ', num2str(y), ')']) 更多&回答... |
![]() |
![]() |