MATLAB geoglobe Earth shadow

2 visualizzazioni (ultimi 30 giorni)
Jae-Hee Park
Jae-Hee Park il 30 Mag 2022
Risposto: Ayush Anand il 31 Ago 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.

Risposte (1)

Ayush Anand
Ayush Anand il 31 Ago 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!

Categorie

Scopri di più su Reference Applications in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by