Adding India boundary to a figure
이전 댓글 표시
Hi,
h = figure;
set(h, 'Color','w')
imagesc(X,Y,wet'); set(gca,'YDir','normal'); set(gca,'YDir','normal');
%hold on, plot(long,lat); set(gca,'YDir','normal')
set(gca,'FontSize', 12, 'FontWeight','bold')
title('WET SEASON','FontSize', 12, 'FontWeight','bold')
h = colorbar; set(h,'FontSize', 12, 'FontWeight','bold')
mymap = [1 0.8 1; 0.7 1 1; 0.9 1 0.5; 0.6 0.7 0];
caxis([0 360]); colormap(mymap)
I want to add India boundary to this figure for which I have a shapefile. I have tried using shaperead and geoshow but it's not working and I am really got stuck into it. Any help will be highly appreciated. Thanks Praveen
댓글 수: 8
praveen rai
2018년 7월 5일
편집: Chad Greene
2018년 8월 14일
jonas
2018년 7월 5일
1. You format code by selecting the text and click the '{} Code' button.
It looks like this
2. What happens if you draw the shapefile on an empty map? Possibly, your country boundaries appear under the data. No way for me to tell if I don't have the shapefile nor the data (nor the code, as there is no geoshow nor shaperead present).
praveen rai
2018년 7월 6일
jonas
2018년 7월 6일
praveen rai
2018년 7월 7일
jonas
2018년 7월 7일
Nice! Happy to help
Ankit Singh
2019년 6월 30일
Thanks..
It works now.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Create Plots on Maps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
