Is it possible to show the x,y axis values for an image?
93 views (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
mizuki
on 8 Sep 2016
Get the handle of the axis and set the 'Visible' property to 'on'
imshow('peppers.png');
h = gca;
h.Visible = 'On';
5 Comments
More Answers (0)
See Also
Categories
Find more on Display Image in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!