Is it possible to show the x,y axis values for an image?
조회 수: 93 (최근 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?
댓글 수: 0
채택된 답변
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!