Retain "pixel"ation in coastlines (map)
Mostrar comentarios más antiguos
Hello all,
Is there any way to remove smoothing in Matlab's map coastlines? I would like to retain the "pixel"ation of the coastlines if possible. Below is the current map that I have.
figure('Color','white')
latlim = [-90 90];
lonlim = [ 0 360];
gratsize = 1 + [diff(latlim), diff(wrapTo360(lonlim))]/6;
[lat, lon] = meshgrat(latlim, lonlim, gratsize);
ax= worldmap ('world')
setm(ax,'mlabelparallel',-90)
coast = load('coast');
geoshow(coast.lat, coast.long, 'Color', 'black')
contourfm(latlim,lonlim,finalmap')
Thank you for your time and input.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Predictive Maintenance Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!