Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

coastlines not plotting in new projection

3 Ansichten (letzte 30 Tage)
Kate
Kate am 30 Jan. 2018
Geschlossen: MATLAB Answer Bot am 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);

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by