/[lmdze]/trunk/Manuel_LMDZE.texfol/Graphiques/disvert.gp
ViewVC logotype

Contents of /trunk/Manuel_LMDZE.texfol/Graphiques/disvert.gp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11 - (show annotations)
Thu Jun 5 12:43:08 2008 UTC (15 years, 11 months ago) by guez
File size: 688 byte(s)
Added option "-lines" for "nag_fcalls95" in "nag_tools.mk".
Added documentation.
Leading spaces removed in "REPLY" in "etat0_lim.sh".
"gcm.sh" does not require "coefoz_LMDZ.nc" to be present.

1 # This is a script for Gnuplot. This script plots the coefficients
2 # "ap" and "bp" used for the vertical grid in LMDZ.
3
4 reset
5 set terminal x11 reset
6
7 pa = 5e4
8 ps = 101325.
9 bp(sigma) = exp(1. - 1. / sigma**2)
10 ap(sigma) = pa * (sigma - bp(sigma))
11 p(sigma) = ap(sigma) + bp(sigma) * ps
12
13 set terminal x11 0 title "bp"
14 set parametric
15 set xlabel "bp"
16 set ylabel "sigma"
17 set yrange [] reverse
18 set dummy sigma
19 set trange [0.01:1]
20 unset key
21 plot bp(sigma), sigma
22
23 set terminal x11 1 title "ap"
24 set xlabel "ap"
25 plot ap(sigma), sigma
26
27 set terminal x11 2 title "p"
28 unset xlabel
29 set key default
30 plot p(sigma), sigma title "p", ap(sigma), sigma title "ap", bp(sigma) * ps, \
31 sigma title "bp * ps"

  ViewVC Help
Powered by ViewVC 1.1.21