Why does the WORLDMAP command produce a map that is partially blank in the Mapping Toolbox 2.0.2 (R14)?

2 views (last 30 days)
I use the following command to produce a map of Antarctica:
figure;
worldmap([-90 -60], [0 360]);
The resulting figure shows only half of the map. The other half of the map appears blank.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
There is a bug in the Mapping Toolbox 2.0.2 (R14) which affects the display of map data that spans longitude 180 degrees.
To work around this issue, specify the longitude limits between -180 to 180 instead of from 0 to 360, as in the following code:
figure;
worldmap([-90 -60], [-180 180]);

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!