File Exchange

image thumbnail

3D Earth and Celestial Bodies (planet3D)

version 2.0.4 (102 MB) by Tamas Kis
Creates high-resolution renderings of the Earth and the major celestial bodies in our solar system for space mechanics applications.

27 Downloads

Updated 06 Apr 2021

From GitHub

View Version History

View license on GitHub

See https://github.com/tamaskis/planet3D-MATLAB or “DOCUMENTATION.pdf” for additional documentation and examples. Examples can also be found in “EXAMPLES.m”.

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.

Cite As

Tamas Kis (2021). 3D Earth and Celestial Bodies (planet3D) (https://github.com/tamaskis/planet3D-MATLAB/releases/tag/v2.0.4), GitHub. Retrieved .

Comments and Ratings (2)

Luke Neise

Adam Smith

MATLAB Release Compatibility
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!