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

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 769 × 336 pixels, file size: 34 KB)

Captions

Captions

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.

Summary[edit]

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
Solar system orbital period vs semimajor axis.svg
Solar system orbital period vs semimajor axis es.svg
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
 
 This plot uses embedded text that can be easily translated using a text editor.
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[edit]

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.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current21:15, 12 October 2020Thumbnail for version as of 21:15, 12 October 2020769 × 336 (34 KB)Rowanc1 (talk | contribs)Changed the name of the planet "Jupyter" to Jupiter. See https://twitter.com/fperez_org/status/1311081298715312128
02:41, 20 March 2020Thumbnail for version as of 02:41, 20 March 2020769 × 336 (34 KB)Krishnavedala (talk | contribs)fixed 10^{-1} tick label manually
01:59, 20 March 2020Thumbnail for version as of 01:59, 20 March 2020767 × 334 (34 KB)Krishnavedala (talk | contribs)Uploaded a work by {{u|Krishnavedala|Rubberduck}} from {{cite web|title= Planetary Fact Sheet - Ratio to Earth Values|publisher={{w|NASA}}|url=https://nssdc.gsfc.nasa.gov/planetary/factsheet/planet_table_ratio.html}} with UploadWizard

File usage on other wikis

The following other wikis use this file:

Metadata