Matlab, 2D matrix
조회 수: 3 (최근 30일)
이전 댓글 표시
I'm using Matlab and I do have a gridded data (0.5 degree) of India for drought index SPEI stored in .mat file with size (62,63), and I have plotted using imagesc() function. However, I want to display it into a map with longitude and latitude axes to be like the map attached.

댓글 수: 0
답변 (1개)
Image Analyst
2017년 12월 30일
Use the 'xdata' and 'ydata' inputs to imshow() to have the tick marks be what you want. You can also use xticklabels() and yticklabels().
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!