Is it possible to show the x,y axis values for an image?

98 次查看(过去 30 天)
I m trying to use an image from matlab in a paper, but I want to show the x,y axis. However when you use imshow(myImage); it doesn't show the values on the x,y axis. i.e. these are coordinates of the pixels. How do I display this?

采纳的回答

mizuki
mizuki 2016-9-8
Get the handle of the axis and set the 'Visible' property to 'on'
imshow('peppers.png');
h = gca;
h.Visible = 'On';
  5 个评论

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by