Dear community,
I fing the geoglobe and geoplot3 functions reallly nice and powerful, yet I have been trying to plot a simple case without succeeding.
I want to plot lines that are located below the surface (underground tunnels, wells, etc.). Is there a workaround to play with the ground layer "transparency" to see those lines that are drawn efectively below, but hidden by the surface?
An extract of the code I'm using:
uif = uifigure;
lat=[43.93365285 43.94086810];
lon=[5.48483510 5.48376465];
alt=[483.591 499.640];
g = geoglobe(uif,'Basemap','satellite',"Terrain","gmted2010");
geoplot3(g,lat,lon,alt,'r',"LineWidth",2)
campos(g,43.912,5.465,700);
campitch(g,0)
camheading(g,20)
Thanks a lot in advance.

답변 (1개)

Binaya
Binaya 2025년 1월 31일

0 개 추천

Hello Ignacio
To see the lines plotted under the surface layer, you can set "Terrain" as "none" in the "geoglobe" function. This should disable the terrain and you can visualize the plotted lines under the surface. You can also play around "campitch" and "camheading" to change camera positions for visualization.
Here are a few documentation links for your reference:
  1. "geoglobe": https://www.mathworks.com/help/map/ref/geoglobe.html
  2. "geoplot3": https://www.mathworks.com/help/map/ref/geoplot3.html
  3. Globe Projection: https://www.mathworks.com/help/map/globe-display.html?s_tid=CRUX_lftnav#:~:text=expand%20all-,Geographic%20Globe,-Globe%20Projection
Regards

카테고리

도움말 센터File Exchange에서 Earth and Planetary Science에 대해 자세히 알아보기

태그

질문:

2020년 11월 30일

답변:

2025년 1월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by