Superimposing of the boundaries of world countries on a map
이전 댓글 표시
Hi I have a matrix (the name of matrix is "matrix_of_cluster") with 55 rows and 144 columns,each guy of this matrix is a number (or NaN) which represents a grid of earth (each grid is 2.5 degree*2.5 degree), this matrix covers latitude: 60S-77.5N and longitude: 180W-180E, I mapped this matrix using the following code. I want to put the boundaries of countries on this map. I tried to use worldmap and geoshow functions, but it did not work. How can I do this? The necessary files have been attached.
Var=matrix_of_cluster;
h1=imagesc(Var);
set(h1,'alphadata',~isnan(Var))
colormap hsv(4)
set(gca,'YDir','normal')
colorbar('location','Eastoutside')
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Color and Styling에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


