Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

coastlines not plotting in new projection

조회 수: 1 (최근 30일)
Kate
Kate 2018년 1월 30일
마감: MATLAB Answer Bot 2021년 8월 20일

Hi guys,

My apologies, I'm a longtime matlab user but new-ish to the mapping toolbox.

So I'd like to change the projection and a number of aesthetics on my map, but when I do so the coastlines no longer show up. Any idea what I'm doing wrong?

Thanks a million! Kate

[lat lon] = makeGrid(.166667)
worldmap([-60 90], [-180 180]) 
load coastlines
cummDose(mNoData)=0;
h=pcolorm(lat,lon,cummDose) 
h=gca;
axesm robinson
framem off; gridm off; mlabel off; plabel off
setm(gca,'MapProjection','robinson')
plotm(coastlat, coastlon, 'k')
[grad,im]=colorGradient(rgb('snow'),rgb('crimson'),25);

답변 (0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by