File:Solar system planets a(AU) vs period(terrestrial years).svg

Summary

Description
English: Log-log plot of the semi-major axis (in Astronomical Units) versus the orbital period (in terrestrial years) for the eight planets of the Solar System.
Date
Source Planetary Fact Sheet - Ratio to Earth Values. NASA.
Author Rubberduck
Other versions

[edit]

SVG development
InfoField
Source code
InfoField

Python code

Source code
from matplotlib import pyplot as plt
plt.rcParams['svg.fonttype'] = 'none'
plt.rcParams['text.usetex'] = False

x = [0.241, 0.615,1,1.88,11.9,29.4,83.7,163.7]
y = [0.387, 0.723, 1, 1.52, 5.20, 9.58, 19.20, 30.05]
labels = ['Mercury', 'Venus', 'Earth', 'Mars', 'Jupiter', 'Saturn', 'Uranus', 'Neptune']

fig, ax = plt.subplots(figsize=(10,6))
ax.loglog(x, y, 'bo', markersize=4)
for label, xx, yy in zip(labels, x, y):
    ax.annotate(label, 
                (xx, yy),
                textcoords="offset points",
                xytext=(-8,0),
                ha="right",
                bbox=dict(boxstyle="round", fill=None)
               )
ax.set_aspect(.5)
ax.grid(True)
ax.grid(True, 'minor', ls=':')
ax.set_xlim([.1,200])
ax.set_ylim([.2, 80])
ax.set_xlabel('Period (terrestrial years)', fontsize=13)
ax.set_ylabel('Semi-major axis (AU)', fontsize=13)
fig.savefig('solar.svg', transparent=True, bbox_inches='tight')

Licensing

This work is ineligible for copyright and therefore in the public domain because it consists entirely of information that is common property and contains no original authorship.
Category:PD ineligible#Solar%20system%20planets%20a(AU)%20vs%20period(terrestrial%20years).svg Category:Solar System charts Category:Orbits of planets Category:Kepler motions Category:JupyterCon 2020
Category:JupyterCon 2020 Category:Kepler motions Category:Orbits of planets Category:PD ineligible Category:Solar System charts Category:Translation possible - SVG Category:Valid SVG created with Matplotlib code