File talk:Atmosphere kerbin duna.png

From Kerbal Space Program Wiki
Jump to: navigation, search

If anyone would like to recreate or modify this image, here's the gnuplot script I used:

set xrange[0 : 10000]
set yrange[0 : 1]
set xtics 1000
set ytics 0.1
set grid xtics ytics front

set xlabel "altitude (m)"
set ylabel "pressure (atm)"

set object 1 rectangle from graph 0,0 to graph 1,1 fillcolor rgb"white" behind

set term png transparent truecolor
set output "plot.png"

set style line 1 linecolor rgb "#715096"
set style line 2 linecolor rgb "#9fe8e1"
set style line 3 linecolor rgb "#cf5237"
Eve(x)    = 5   * exp(-x/7000)
Kerbin(x) =       exp(-x/5000)
Duna(x)   = 0.2 * exp(-x/3000)

plot Kerbin(x) title "Kerbin" ls 2 with filledcurves above y1=0, \
     Duna(x)   title "Duna"   ls 3 with filledcurves above y1=0

Elembis (talk) 08:10, 2 October 2012 (UTC)