geoshow cuts off grid data
Ältere Kommentare anzeigen
Hello,
I have a global grid of data (nLat,nLon = 24,36) which I'm trying to map with the geoshow() function. However, it's cutting off several columns on the left and right side of the map. I've tried different ways of mapping as described in the help, but the same thing keeps happening.
Below a minimal example. What am I doing wrong? Should I use a different function?
Thanks & cheers,
lon = -5:10:355;
lat = -90:7.5:90;
[latM lonM] = meshgrat(lat,lon);
data = rand([24,36]);
figure
ax = axesm('MapProjection', 'eqdcylin','grid','on');
mlabel;plabel;
geoshow(latM,lonM,data,'DisplayType','texturemap')
1 Kommentar
Jonas Damsbo
am 18 Okt. 2018
Hi Maarten
How are you get coastlines on your map? :)
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Create Plots on Maps finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!