Unable to visualize the earth using geoglobe command

조회 수: 2 (최근 30일)
彦彪 冯
彦彪 冯 2025년 7월 4일
답변: Sameer 2025년 7월 8일
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
Walter Roberson
Walter Roberson 2025년 7월 5일
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
Walter Roberson 2025년 7월 5일
I tried R2023b in my (native) Windows 11 machine. Response time was decent and showed (mostly) Africa.

댓글을 달려면 로그인하십시오.

답변 (1개)

Sameer
Sameer 2025년 7월 8일
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!

Community Treasure Hunt

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

Start Hunting!

Translated by