Skip to content

Latest commit

 

History

History
executable file
·
26 lines (18 loc) · 653 Bytes

File metadata and controls

executable file
·
26 lines (18 loc) · 653 Bytes

これは太陽系の惑星を図示するスクリプトです。

必要な物(pythonライブラリ)

  • numpy
  • matplotlib
  • dateutil

使い方

python planetary_orbits.py yyyy-mm-dd

or

python planetary_orbits_with_haya2.py yyyy-mm-dd

を実行すると、同ディレクトリ内に画像ファイルが生成されます。

実行結果

python planetary_orbits.py 2017-03-15の結果 img1

python planetary_orbits_with_haya2.py 2017-3-15の結果 img2

精度

python planetary_orbits_with_haya2_near.pyの結果 img3