File talk:Atmosphere kerbin eve.png

From Kerbal Space Program Wiki
Revision as of 08:09, 2 October 2012 by Elembis (talk | contribs) (Pasted my gnuplot script for this graph.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 : 5]
set xtics 1000
set ytics 0.5
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"
Eve(x)    = 5   * exp(-x/7000)
Kerbin(x) =       exp(-x/5000)
Duna(x)   = 0.2 * exp(-x/3000)

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

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