THE FOLDER “Images” MUST BE LOCATED IN THE SAME FOLDER AS “planet3D.m” OR THE FUNCTION WILL NOT WORK.
The "planet3D” function produces high resolution plots/drawings (in the generic “Figure” environment of the:
-
Earth (day with clouds, day without clouds, night with clouds, and night without clouds)
-
Moon
-
Sun
-
Mercury
-
Venus
-
Mars
-
Jupiter
-
Saturn
-
Uranus
-
Neptune
-
Pluto
The “background” function can be used to change the plot background to be the Milky Way, the stars, or just a plain black background.
After plotting the celestial body, you can adjust all properties like you normally would (titles, axes labels, legends, axes limits, etc.). You can also use “hold on” and plot multiple celestial bodies in the same Figure window.
更多精彩文章请关注公众号: