Info

This question is closed. Reopen it to edit or answer.

coastlines not plotting in new projection

2 views (last 30 days)
Kate
Kate on 30 Jan 2018
Closed: MATLAB Answer Bot on 20 Aug 2021

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);

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!