How to set x axis in a plot?
이전 댓글 표시
Hello, I would like to know if is possible to set the X- axis like the plot that I loaded. I make the x-axis in pain just as an example of what I would like to do. 

채택된 답변
추가 답변 (1개)
rgbImage = imread('peppers.png');
imshow(flipud(rgbImage), 'XData', 1:8, 'YData', 14:22);
axis('on', 'xy')
카테고리
도움말 센터 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

