![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/176315/image.jpeg)
Why are map limit and frame limit not aligned when zooming in ?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi, I can't find an answer to a very simple question, using the Mapping Toolbox: why my map and my frame limits are not aligned when I zoom in ? Here is my code, creating a map of the world:
ax = worldmap('World');
setm(ax, 'Origin', [0 25 0], 'FFaceColor',[228, 230, 234]/255)
framem('FlineWidth',1,'FEdgeColor','k')
land = shaperead('landareas', 'UseGeoCoords', true);
geoshow(ax, land, 'FaceColor', [163, 163, 194]/255,'EdgeColor',[133, 133, 173]/255)
Here is what I get, with original scale:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159173/image.png)
When I try to zoom in, the frame edge is not aligned with the map edge anymore for some obscure reason:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159175/image.png)
Am I missing something here? I tried to play with tightmap to remove this empty space introduced when zooming, but it has no effect.
Any idea ?
Thanks a bunch!
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Exploration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!