- "geoglobe": https://www.mathworks.com/help/map/ref/geoglobe.html
- "geoplot3": https://www.mathworks.com/help/map/ref/geoplot3.html
- Globe Projection: https://www.mathworks.com/help/map/globe-display.html?s_tid=CRUX_lftnav#:~:text=expand%20all-,Geographic%20Globe,-Globe%20Projection
geoplot3 for subsurface lines
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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.
0 Commenti
Risposte (1)
Binaya
il 31 Gen 2025
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:
Regards
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!