Retain "pixel"ation in coastlines (map)

1 visualización (últimos 30 días)
Vesp
Vesp el 11 de Jul. de 2016
Respondida: Walter Roberson el 11 de Jul. de 2016
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

Walter Roberson
Walter Roberson el 11 de Jul. de 2016
If you are using R2014b or later, try experimenting with the new GraphicsSmoothing control; see http://www.mathworks.com/help/matlab/examples/using-graphics-smoothing.html

Más respuestas (0)

Categorías

Más información sobre Mapping Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by