MATLAB geoglobe Earth shadow

3 vues (au cours des 30 derniers jours)
Jae-Hee Park
Jae-Hee Park le 30 Mai 2022
Hi, I am looking for a way to make Earth plot and earth shadow plot.
I found function geoglobe that makes earth finite but there is no shadow side.
Is ther any way to make shadowside on the Earth?
Thank you.

Réponses (1)

Ayush Anand
Ayush Anand le 31 Août 2023
Hi,
i understand you want to make an Earth plot along with a shadow plot. You can use the "geoshow" function to plot the Earth's surface. For viewing the shadow plot, you will have to add a light source for the shadow. You can do so by using the "light" function.
Finally you can specify the angle at which you want to view the plot using the "view" function. It takes in two parameters: the first parameter controls the azimuth angle, which determines the horizontal rotation of the plot. The second parameter controls the elevation angle, which determines the vertical rotation of the plot.
Please refer the following documentation to know more about the "geoshow" function:
I hope this helps!

Catégories

En savoir plus sur Earth and Planetary Science dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by