Unable to visualize the earth using geoglobe command
Show older comments
I was using geoglobe and geoplot3 command to visualize the 3D path. But the earth map cannot be seen not matter using what terrain or map.
uif = uifigure;
g = geoglobe(uif,"Basemap","colorterrain");

the colorterrain has been installed.
uif = uifigure;
g = geoglobe(uif,"Terrain","southboulderpeak");

the Terrain 'southboulderpeak' already exists.

4 Comments
Walter Roberson
on 4 Jul 2025
When I try in R2025a on my Intel MacOS system,
uif = uifigure;
g = geoglobe(uif,"Basemap","colorterrain");
does show the Earth map, mostly Africa.
Which MATLAB version are you using, and which operating system?
彦彪 冯
on 5 Jul 2025
Walter Roberson
on 5 Jul 2025
I tried on my Intel MacOS with R2023b, and response was decent and showed (mostly) Africa.
I tried R2023b in a virtual Windows 10 machine. Response was a bit slow, but it did eventually come up with the (mostly) Africa.
Walter Roberson
on 5 Jul 2025
I tried R2023b in my (native) Windows 11 machine. Response time was decent and showed (mostly) Africa.
Answers (1)
Sameer
on 8 Jul 2025
Hi @彦彪 冯
This appears to be a known issue, and similar cases have been reported by other users. Following are the MATLAB Answers threads:
As suggested in these discussions, try to set the Terrain property to "none" when creating the geoglobe object.
hfig = uifigure;
g = geoglobe(hfig, Terrain="none")
Hope this helps!
Categories
Find more on Mathematics and Optimization in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!