Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Plot the positions of solar system objects in 3D
ResourceFunction["SolarSystemPlot3D"][primitives] represents a three-dimensional graphical image for the current date that works with solar system entities as well as standard 3D graphics primitives and directives. | |
ResourceFunction["SolarSystemPlot3D"][primitives,date] represents a three-dimensional graphical image for the specified date that works with solar system entities as well as standard 3D graphics primitives and directives. | |
ResourceFunction["SolarSystemPlot3D"][primitives,{date1,date2}] represents a three-dimensional graphical image for the specified range of dates that works with solar system entities as well as standard 3D graphics primitives and directives. |
"EclipticPlaneStyle" | Directive[GrayLevel[1],Opacity[0.2]] | style to use for drawing the ecliptic plane |
"IncludeEclipticPlane" | True | whether to draw the ecliptic plane |
"IncludeReferenceObjects" | False | whether to include important background reference objects |
"IncludeSun" | True | whether to include the Sun |
LabelingFunction | Automatic | how to label points |
LabelingSize | Automatic | size to use for callout and label |
"OrbitsToInclude" | Automatic | list of entities whose orbits to include |
"OrbitStyle" | Automatic | style to use for drawing orbits |
"SunStyle" | Automatic | style directives to use for rendering the Sun |
Plot the position of a planet:
In[1]:= | ![]() |
Out[1]= | ![]() |
Plot the position of a minor planet:
In[2]:= | ![]() |
Out[2]= | ![]() |
Plot the position of a comet:
In[3]:= | ![]() |
Out[3]= | ![]() |
Plot the position of a deep space probe:
In[4]:= | ![]() |
Out[4]= | ![]() |
Plot the position of a planet on a specific date:
In[5]:= | ![]() |
Out[5]= | ![]() |
Plot the positions of multiple solar system objects:
In[6]:= | ![]() |
Out[6]= | ![]() |
Plot the positions of multiple solar system objects on a specified date:
In[7]:= | ![]() |
Out[7]= | ![]() |
"OrbitsToInclude" can be used to specify which orbits should be included in the scene:
In[8]:= | ![]() |
Out[8]= | ![]() |
"OrbitStyle" can be used to style the orbits according to arbitrary styles and directives:
In[9]:= | ![]() |
Out[9]= | ![]() |
"IncludeSun" can be used to remove the Sun from the scene:
In[10]:= | ![]() |
Out[10]= | ![]() |
"SunStyle" can be used to change the directives and primitives used to create the Sun. By default, the Sun is drawn to scale as a yellow sphere:
In[11]:= | ![]() |
Out[11]= | ![]() |
"IncludeEclipticPlane" is False by default, but can be set to True:
In[12]:= | ![]() |
Out[12]= | ![]() |
"EclipticPlaneStyle" can be used to specify the directives to use in styling the ecliptic plane:
In[13]:= | ![]() |
Out[13]= | ![]() |
Force all callout labels to display:
In[14]:= | ![]() |
Out[14]= | ![]() |
"IncludeReferenceObjects" can be set to False to avoid computing the positions of background reference objects:
In[15]:= | ![]() |
Out[15]= | ![]() |
Visualize comet 46P/Wirtanen as it passes near the Earth:
In[16]:= | ![]() |
Out[16]= | ![]() |
Track Elon Musk's Tesla in space:
In[17]:= | ![]() |
Out[17]= | ![]() |
The coordinates of some objects may not be available or may have restrictions on which dates they are available, which can result in invalid coordinates for a 3D scene:
In[18]:= | ![]() |
Out[18]= | ![]() |
Simulate the inner planets being illuminated by the Sun:
In[19]:= | ![]() |
Out[19]= | ![]() |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License