How to plot a picture in squared sized using imagesc?
조회 수: 50 (최근 30일)
이전 댓글 표시

Hi there, i'm using imagesc to plot a colormap, in which the x/y data are equal in size, but when I plot it using imagesc, the output picture is always a rectangle rather than a square, I wonder how can I solve this problem,many thanks a lot!
댓글 수: 0
채택된 답변
Image Analyst
2016년 9월 25일
Try different axes options until you get what you like, like
axis square;
axis equal;
axis image;
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Orange에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!