MATLAB geoglobe Earth shadow

조회 수: 2 (최근 30일)
Jae-Hee Park
Jae-Hee Park 2022년 5월 30일
답변: Ayush Anand 2023년 8월 31일
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.

답변 (1개)

Ayush Anand
Ayush Anand 2023년 8월 31일
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!

카테고리

Help CenterFile Exchange에서 Reference Applications에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by