How to show an image axes in pixeles?
8 views (last 30 days)
Show older comments
I want to display the axes of an image in pixels, I mean the center (0,0) must be placed in the top left corner of the image and it must be limited for 640x480 pixels. See the image below for further explanation. How can I do this? Any help is appreciated.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160256/image.png)
0 Comments
Accepted Answer
More Answers (2)
Image Analyst
on 30 Jan 2017
Display the image, then call axis on
imshow(yourImage);
axis on;
0 Comments
John BG
on 30 Jan 2017
axis ij
does precisely invert the Y axis placing 0 up left.
.
if you find this answer useful would you please be so kind to mark my answer as Accepted Answer?
To any other reader, please if you find this answer of any help solving your question,
please click on the thumbs-up vote link,
thanks in advance
John BG
0 Comments
See Also
Categories
Find more on Lighting, Transparency, and Shading in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!