Retain "pixel"ation in coastlines (map)

1 回表示 (過去 30 日間)
Vesp
Vesp 2016 年 7 月 11 日
回答済み: Walter Roberson 2016 年 7 月 11 日
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.

採用された回答

Walter Roberson
Walter Roberson 2016 年 7 月 11 日
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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMapping Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by