Template:Distance from Sun using EasyTimeline

From HandWiki
Revision as of 07:14, 22 November 2020 by imported>Jworkorg (import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<timeline style="width:100%; overflow:hidden;"> ImageSize = width:1600 height:200 PlotArea = left:80 right:0 top:0 bottom:20 Period = from:0 till:14700 TimeAxis = orientation:horizontal Colors =

id:grid_major value:gray(0.75)
id:grid_minor value:rgb(0.75,0.75,1)

ScaleMajor = unit:year increment:500 start:0 gridcolor:grid_major ScaleMinor = unit:year increment:1496 start:0 gridcolor:grid_minor BarData =

bar:au
bar:dummy1 text:PLANETS
bar:planets
bar:dummy2 text:COMET (e.g.)
bar:comet text:
bar:dwarf_planets1 text:DWARF
bar:dwarf_planets2 text:PLANETS
bar:dwarf_planets3
bar:dwarf_planets4

PlotData =

fontsize:M
bar:dummy1 text:_ color:white at:0
bar:dummy2 text:_ color:white at:0
bar:planets width:48 text:Mercury color:lightpurple from:46 till:70 shift:(0,14)
bar:planets width:48 text:Venus color:redorange from:107 till:109 shift:(0,1)
bar:planets width:48 text:Earth color:oceanblue from:147 till:152 shift:(0,-12)
bar:planets width:48 text:Mars color:coral from:207 till:249 shift:(0,-25)
bar:planets width:48 text:Jupiter color:orange from:741 till:816
bar:planets width:48 text:Saturn color:yellow from:1350 till:1504
bar:planets width:48 text:Uranus color:skyblue from:2735 till:3006
bar:planets width:48 text:Neptune color:blue from:4460 till:4537
bar:dwarf_planets2 width:18 text:Ceres color:tan2 from:381 till:446 shift:(0,-4)
bar:dwarf_planets1 width:18 text:Pluto color:lavender from:4437 till:7376 shift:(0,-4)
bar:dwarf_planets2 width:18 text:Haumea color:tan1 from:5158 till:7706 shift:(0,-4)
bar:dwarf_planets3 width:18 text:Makemake color:pink from:5672 till:7895 shift:(0,-4)
bar:dwarf_planets4 width:18 text:Eris color:lightorange from:5766 till:14595 shift:(-250,-4)
bar:dwarf_planets4 text:SUN color:yellow from:0 till:0.696 shift:(2,-20)
bar:comet width:12 text:Halley's Comet color:yellowgreen from:88 till:5251 shift:(0,-4)
bar:au shift:(1,-12) text:0AU at:0
bar:au shift:(1,-12) text:10 AU at:1326
bar:au shift:(1,-12) text:20 AU at:2822
bar:au shift:(1,-12) text:30 AU at:4318
bar:au shift:(1,-12) text:40 AU at:5814
bar:au shift:(1,-12) text:50 AU at:7310
bar:au shift:(1,-12) text:60 AU at:8806
bar:au shift:(1,-12) text:70 AU at:10302
bar:au shift:(1,-12) text:80 AU at:11798
bar:au shift:(1,-12) text:90 AU at:13294

LineData =

at:10 color:yellow layer:front

TextData =

pos:(10,192) text:Astronomical
pos:(10,182) text:units from Sun
pos:(20,15) text:Million km\nfrom Sun

</timeline>

Distances of selected bodies of the Solar System from the Sun. The left and right edges of each bar correspond to the perihelion and aphelion of the body, respectively, hence long bars denote high orbital eccentricity. The radius of the Sun is 0.7 million km, and the radius of Jupiter (the largest planet) is 0.07 million km, both too small to resolve on this image.

More detailed views

Zooming in on only the planets (and Halley's comet) :

<timeline> ImageSize = width:1500 height:200 PlotArea = left:90 right:0 top:0 bottom:20 Period = from:0 till:5600 TimeAxis = orientation:horizontal Alignbars = Late Colors =

id:grid_major value:gray(0.75)
id:grid_minor value:rgb(0.75,0.75,1)

ScaleMajor = unit:year increment:500 start:0 gridcolor:grid_major ScaleMinor = unit:year increment:1496 start:0 gridcolor:grid_minor BarData =

bar:au
bar:planets text:PLANETS
bar:comet text:COMET (e.g.)
bar:dwarf_planets2 text:ASTEROID (e.g.)
bar:bottom

PlotData =

fontsize:M
bar:planets width:48 text:Mercury color:lightpurple from:46 till:70 shift:(0,14)
bar:planets width:48 text:Venus color:redorange from:107 till:109 shift:(0,1)
bar:planets width:48 text:Earth color:oceanblue from:147 till:152 shift:(0,-12)
bar:planets width:48 text:Mars color:coral from:207 till:249 shift:(0,-25)
bar:planets width:48 text:Jupiter color:orange from:741 till:816
bar:planets width:48 text:Saturn color:yellow from:1350 till:1504 shift:(-10,0)
bar:planets width:48 text:Uranus color:skyblue from:2735 till:3006 shift:(-10,0)
bar:planets width:48 text:Neptune color:blue from:4460 till:4537
bar:dwarf_planets2 width:18 text:Ceres color:tan2 from:381 till:446 shift:(0,-4)
bar:bottom text:SUN color:yellow from:0 till:0.696 shift:(2,-10)
bar:comet width:12 text:Halley's Comet color:yellowgreen from:88 till:5251 shift:(0,-4)
bar:au shift:(3,10) text:0AU at:0
bar:au shift:(3,10) text:1 AU at:150
bar:au shift:(-15,10) text:10 AU at:1496
bar:au shift:(-15,10) text:20 AU at:2992
bar:au shift:(-15,10) text:30 AU at:4488
  1. bar:au from:1000 till:1010 color:red
  2. bar:planets from:1020 till:1030 color:orange
  3. bar:comet from:1040 till:1050 color:yellow
  4. bar:dwarf_planets2 from:1060 till:1070 color:green
  5. bar:bottom from:1070 till:1080 color:blue

LineData =

at:10 color:yellow layer:front
at:150 color:skyblue layer:back width:0.1

TextData =

pos:(10,192) text:Astronomical
pos:(10,182) text:units from Sun
pos:(20,15) text:Million km\nfrom Sun

</timeline>


Further restricting towards the inner planets:

<timeline> ImageSize = width:1500 height:200 PlotArea = left:90 right:0 top:0 bottom:20 Period = from:0 till:1100 # or use 2100 to include Saturn and the 10 AU mark TimeAxis = orientation:horizontal Alignbars = Late Colors =

id:grid_major value:gray(0.75)
id:grid_minor value:rgb(0.75,0.75,1)

ScaleMajor = unit:year increment:500 start:0 gridcolor:grid_major ScaleMinor = unit:year increment:748 start:0 gridcolor:grid_minor BarData =

bar:au
bar:planets text:PLANETS (e.g.)
bar:dwarf_planets2 text:ASTEROID (e.g.)
bar:bottom

PlotData =

fontsize:M
bar:planets width:48 text:Mercury color:lightpurple from:46 till:70 shift:(-25,10)
bar:planets width:48 text:Venus color:redorange from:107 till:109 shift:(-15,0)
bar:planets width:48 text:Earth color:oceanblue from:147 till:152 shift:(0,-10)
bar:planets width:48 text:Mars color:coral from:207 till:249 shift:(-10,0)
bar:planets width:48 text:Jupiter color:orange from:741 till:816 shift:(-15,0)
  1. bar:planets width:48 text:Saturn color:yellow from:1350 till:1504 shift:(-10,0)
bar:dwarf_planets2 width:18 text:Ceres color:tan2 from:381 till:446 shift:(-15,-4)
bar:bottom text:SUN color:yellow from:0 till:0.696 shift:(2,-10)
bar:au shift:(3,10) text:0AU at:0
bar:au shift:(3,10) text:1 AU at:150
bar:au shift:(-9,10) text:5 AU at:748
  1. bar:au shift:(-15,10) text:10 AU at:1496
bar:bottom text:belt_gap shift:(-22,15) width:15 color:pink from:308 till:309 #2.06 AU
bar:bottom text:belt_gap shift:(-22,15) width:15 color:pink from:489 till:490 #3.27 AU

LineData =

at:1 color:yellow layer:front
at:150 color:skyblue layer:back width:0.1

TextData =

pos:(10,192) text:Astronomical
pos:(10,182) text:units from Sun
pos:(20,15) text:Million km\nfrom Sun

</timeline>