Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

coastlines not plotting in new projection

1 visualizzazione (ultimi 30 giorni)
Kate
Kate il 30 Gen 2018
Chiuso: MATLAB Answer Bot il 20 Ago 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);

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by