MATLAB geoglobe Earth shadow

3 views (last 30 days)
Jae-Hee Park
Jae-Hee Park on 30 May 2022
Answered: Ayush Anand on 31 Aug 2023
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.

Answers (1)

Ayush Anand
Ayush Anand on 31 Aug 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!

Categories

Find more on Earth and Planetary Science in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!