Matlab如何显示x,y坐标
如何显示映射在图像上的 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< /a>
How to show both x,y coordinate mapped on image?
x = 12;
y = 54;
plot(x,y,'+ b'); % this show only the "+" symbol. How to show the both coordinate and the "+"
alt text http://www.freeimagehosting.net/image.php?1dcb46de7a.jpg
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这应该可以解决问题(可能需要对坐标进行一些调整):
This should do the trick (might need some adjustment of the coordinates):
您可以使用此代码以 [x, y, f(x,y)] 形式显示任何数据或具有坐标的数据
https://www.mathworks.com/matlabcentral/fileexchange/72970-display-data-in-form-of-fxy-as-map-and-convert-to-matrix
you can use this code for displaying any data in the form of [x, y, f(x,y)] or data with coordinate
https://www.mathworks.com/matlabcentral/fileexchange/72970-display-data-in-form-of-f-x-y-as-map-and-convert-to-matrix