Difference between revisions of "File:Pressures.svg"

From Kerbal Space Program Wiki
Jump to: navigation, search
(The pressures of all planets/moons in kPa/atm. It shows only up to the atmospheric height of Kerbin (about 70 km) and also pressures for altitudes above their respective atmospheric heights.)
 
(+gnuplot batch;)
Line 1: Line 1:
 
The pressures of all planets/moons in kPa/atm. It shows only up to the atmospheric height of [[Kerbin]] (about 70 km) and also pressures for altitudes above their respective atmospheric heights.
 
The pressures of all planets/moons in kPa/atm. It shows only up to the atmospheric height of [[Kerbin]] (about 70 km) and also pressures for altitudes above their respective atmospheric heights.
 +
 +
<syntaxhighlight line lang="gnuplot">
 +
set xlabel "Altitude above mean sea level (kilometers)"
 +
set ylabel "Pressure (kPa)"
 +
set y2label "Pressure (atm)"
 +
set title "Atmospheric pressure"
 +
set terminal svg size 400,320
 +
set output "pressures.svg"
 +
FACTOR=101.325
 +
set yrange [0:1600]
 +
set y2range [0:1600/FACTOR]
 +
set y2tics nomirror
 +
set ytics nomirror out
 +
set xtics out
 +
set grid xtics ytics
 +
plot [0:-log(10**-6)*5]  15*exp(-x/10)*FACTOR title 'Jool'  with filledcurves x1 lc rgb "#3CF000", \
 +
                          5*exp(-x/7 )*FACTOR title 'Eve'    with filledcurves x1 lc rgb "#AC39AC", \
 +
                          1*exp(-x/5 )*FACTOR title 'Kerbin' with filledcurves x1 lc rgb "#0018F0", \
 +
                        0.8*exp(-x/4 )*FACTOR title 'Laythe' with filledcurves x1 lc rgb "#002185", \
 +
                        0.2*exp(-x/3 )*FACTOR title 'Duna'  with filledcurves x1 lc rgb "#E65C00"
 +
</syntaxhighlight>

Revision as of 15:44, 29 August 2013

The pressures of all planets/moons in kPa/atm. It shows only up to the atmospheric height of Kerbin (about 70 km) and also pressures for altitudes above their respective atmospheric heights.

  1. set xlabel "Altitude above mean sea level (kilometers)"
  2. set ylabel "Pressure (kPa)"
  3. set y2label "Pressure (atm)"
  4. set title "Atmospheric pressure"
  5. set terminal svg size 400,320
  6. set output "pressures.svg"
  7. FACTOR=101.325
  8. set yrange [0:1600]
  9. set y2range [0:1600/FACTOR]
  10. set y2tics nomirror
  11. set ytics nomirror out
  12. set xtics out
  13. set grid xtics ytics
  14. plot [0:-log(10**-6)*5]   15*exp(-x/10)*FACTOR title 'Jool'   with filledcurves x1 lc rgb "#3CF000", \
  15.                            5*exp(-x/7 )*FACTOR title 'Eve'    with filledcurves x1 lc rgb "#AC39AC", \
  16.                            1*exp(-x/5 )*FACTOR title 'Kerbin' with filledcurves x1 lc rgb "#0018F0", \
  17.                          0.8*exp(-x/4 )*FACTOR title 'Laythe' with filledcurves x1 lc rgb "#002185", \
  18.                          0.2*exp(-x/3 )*FACTOR title 'Duna'   with filledcurves x1 lc rgb "#E65C00"

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current15:05, 29 August 2013Thumbnail for version as of 15:05, 29 August 2013400 × 320 (30 KB)XZise (talk | contribs)The pressures of all planets/moons in kPa/atm. It shows only up to the atmospheric height of Kerbin (about 70 km) and also pressures for altitudes above their respective atmospheric heights.
  • You cannot overwrite this file.

Metadata