File:Moon_trajectory1.svg
維基百科,自由的 encyclopedia
原始檔案 (SVG 檔案,表面大小:1,600 × 223 像素,檔案大小:2 KB)
摘要
描述Moon trajectory1.svg |
English: Section of the Earth–Moon system's trajectory around the Sun in proper scale. ▇ orbital path of the Earth Español: Un diagrama que ilustra la coórbita de la Luna con la Tierra.
import numpy as np import matplotlib.pyplot as plt rEM = 38 # SVG pixel per |Earth-Moon|; we're going to round to int. rSE = rEM*389.168 # pixel per |Sun-Earth| n = 10 # polygon segments per quarter month; with cubic splines, n = 1 would probably suffice. p = 12.4 # synodic months per year; 4*n*p segments per year. θ = 2*np.pi*np.arange(-n-1, 3*n)/(4*n*p) # one month xE = rSE*np.sin(θ) yE =-rSE*np.cos(θ) xM = rSE*np.sin(θ) + rEM*(np.sin(p*θ)*np.cos(θ) + np.cos(p*θ)*np.sin(θ)) # Rotate rM vector by Earth's arc angle. yM =-rSE*np.cos(θ) - rEM*(np.cos(p*θ)*np.cos(θ) - np.sin(p*θ)*np.sin(θ)) fig, ax = plt.subplots(figsize=(19,2.5)) ax.plot(xE, yE, 'b-', linewidth=.5) ax.plot(xM, yM, 'k-') ax.plot(xE[1::n], yE[1::n], 'bo', markersize=5) ax.plot(xM[1::n], yM[1::n], 'ko', markersize=2) fig.tight_layout() fig.show() xE = xE.astype(int) yE = yE.astype(int) xM = xM.astype(int) yM = yM.astype(int) rM = 8; rE = 20 # radii, not to scale (would be 0.17 and 0.63) open('out.svg', 'w').write(f<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="1600" height="{1600*(rSE+rEM+rM+yM[-1])/(xE[-1]-xE[0])}" viewBox="{xE[0]} {-(rSE+rEM+rM)} {xE[-1]-xE[0]} {rSE+rEM+rM+yM[-1]}"> <defs> <marker id="E" overflow="visible"><circle r="{rE}" fill="blue"/></marker> <marker id="M" overflow="visible"><circle r="{rM}" fill="black"/></marker> </defs> <path fill="none" stroke="blue" stroke-width="2" d="M{'L'.join([x+' '+y for x,y in zip(xE.astype(str), yE.astype(str))])}"/> <path fill="none" stroke="black" stroke-width="4" d="M{'L'.join([x+' '+y for x,y in zip(xM.astype(str), yM.astype(str))])}"/> <path fill="none" stroke="none" marker-start="url(#M)" marker-mid="url(#M)" marker-end="url(#M)" d="M{'L'.join([x+' '+y for x,y in zip(xM[1::n].astype(str), yM[1::n].astype(str))])}"/> <path fill="none" stroke="none" marker-start="url(#E)" marker-mid="url(#E)" marker-end="url(#E)" d="M{'L'.join([x+' '+y for x,y in zip(xE[1::n].astype(str), yE[1::n].astype(str))])}"/> </svg> ) |
日期 | |
來源 | 自己的作品 |
作者 | de:User:Rainald62 |
授權條款
Public domainPublic domainfalsefalse |
我,此作品的版權所有人,釋出此作品至公共領域。此授權條款在全世界均適用。 這可能在某些國家不合法,如果是的話: 我授予任何人有權利使用此作品於任何用途,除受法律約束外,不受任何限制。 |
授權條款
Public domainPublic domainfalsefalse |
我,此作品的版權所有人,釋出此作品至公共領域。此授權條款在全世界均適用。 這可能在某些國家不合法,如果是的話: 我授予任何人有權利使用此作品於任何用途,除受法律約束外,不受任何限制。 |
在此檔案描寫的項目
描繪內容
著作權狀態 繁體中文 (已轉換拼寫)
保有知識產權並由其所有者公開於公有領域 繁體中文 (已轉換拼寫)
著作權持有者釋出至公有領域 繁體中文 (已轉換拼寫)
五月 2007
多媒體型式 繁體中文 (已轉換拼寫)
image/svg+xml
檔案歷史
點選日期/時間以檢視該時間的檔案版本。
日期/時間 | 縮圖 | 尺寸 | 用戶 | 備註 | |
---|---|---|---|---|---|
目前 | 2020年7月14日 (二) 16:18 | 1,600 × 223(2 KB) | Rainald62 | Trajectories calculated instead of drawn by hand. Less stroke-width for Earth's trajectory. Lower figure height. | |
2007年5月17日 (四) 17:08 | 800 × 392(3 KB) | Tó campos1 | |||
2007年5月17日 (四) 15:54 | 800 × 392(5 KB) | Tó campos1 |
檔案用途
全域檔案使用狀況
以下其他 wiki 使用了這個檔案:
- ca.wikipedia.org 的使用狀況
- de.wikipedia.org 的使用狀況
- el.wikipedia.org 的使用狀況
- en.wikipedia.org 的使用狀況
- es.wikipedia.org 的使用狀況
- et.wikipedia.org 的使用狀況
- eu.wikipedia.org 的使用狀況
- fr.wikipedia.org 的使用狀況
- Définition des planètes
- Orbite de la Lune
- Discussion:Orbite de la Lune
- Wikipédia:Le saviez-vous ?/Archives/2015
- Utilisateur:GhosterBot/BacASable/testStat/Visibilité des anecdotes (2015)
- Utilisateur:GhosterBot/BacASable/testStat/Visibilité des anecdotes (2015)/2015 02
- Wikipédia:Statistiques des anecdotes de la page d'accueil/Visibilité des anecdotes (2015)/2015 02
- Wikipédia:Statistiques des anecdotes de la page d'accueil/Visibilité des anecdotes (2015)
- Discussion:Tesla Roadster (engin spatial)/LSV 21645
- it.wikipedia.org 的使用狀況
- ja.wikipedia.org 的使用狀況
- mk.wikipedia.org 的使用狀況
- pt.wikipedia.org 的使用狀況
- vi.wikipedia.org 的使用狀況
詮釋資料
此檔案中包含擴展的資訊。這些資訊可能是由數位相機或掃描器在建立時或數位化過程中所加入。
如果此檔案的來源檔案已被修改,一些資訊在修改後的檔案中將不能完全反映出來。
寬度 | 1600 |
---|---|
高度 | 222.75823489477256 |