File:  [Local Repository] / imach096d / src / graph.plt
Revision 1.1: download - view: text, annotated - select for diffs
Wed Feb 20 18:22:55 2002 UTC (22 years, 8 months ago) by lievre
Branches: MAIN
CVS tags: Version-0-8a-jackson-revised, Version-0-8a, HEAD
*** empty log message ***

cd "D:/cygwin/home/agnes/hid/hidinstit/merge/bruit/" 
set xlabel "Age" 
set ylabel "Probability" 
set ter gif small size 400,300
plot [65:100] "vplrparaaa.txt" every :::0::0 u 1:2 "%lf %lf (%lf) %*lf (%*lf)" t"Stationary prevalence" w l 0,"vplrparaaa.txt" every :::0::0 u 1:($2+2*$3) "%lf %lf (%lf) %*lf (%*lf)" t"95% CI" w l 1,"vplrparaaa.txt" every :::0::0 u 1:($2-2*$3) "%lf %lf (%lf) %*lf (%*lf)" t"" w l 1,"prparaaa.txt" every :::0::0 u 1:($2) t"Observed prevalence " w l 2
set out "vparaaa11.gif" 
replot

set xlabel "Age" 
set ylabel "Probability" 
set ter gif small size 400,300
plot [65:100] "vplrparaaa.txt" every :::0::0 u 1:2 "%lf %*lf (%*lf) %lf (%lf)" t"Stationary prevalence" w l 0,"vplrparaaa.txt" every :::0::0 u 1:($2+2*$3) "%lf %*lf (%*lf) %lf (%lf)" t"95% CI" w l 1,"vplrparaaa.txt" every :::0::0 u 1:($2-2*$3) "%lf %*lf (%*lf) %lf (%lf)" t"" w l 1,"prparaaa.txt" every :::0::0 u 1:($6) t"Observed prevalence " w l 2
set out "vparaaa21.gif" 
replot

set ylabel "Years" 
set ter gif small size 400,300
plot [65:100] "trparaaa.txt" every :::0::0 u 1:2 "%lf %lf (%lf) %*lf (%*lf) %*lf (%*lf)" t"TLE" w l ,"trparaaa.txt" every :::0::0 u 1:($2-$3*2) "%lf %lf (%lf) %*lf (%*lf) %*lf (%*lf)" t"" w l 0,"trparaaa.txt" every :::0::0 u 1:($2+$3*2) "%lf %lf (%lf) %*lf (%*lf) %*lf (%*lf)" t"" w l 0,"trparaaa.txt" every :::0::0 u 1:2 "%lf %*lf (%*lf) %lf (%lf) %*lf (%*lf)" t"LE in state (1)" w l ,"trparaaa.txt" every :::0::0 u 1:($2-$3*2) "%lf %*lf (%*lf) %lf (%lf) %*lf (%*lf)" t"" w l 0,"trparaaa.txt" every :::0::0 u 1:($2+$3*2) "%lf %*lf (%*lf) %lf (%lf) %*lf (%*lf)" t"" w l 0,"trparaaa.txt" every :::0::0 u 1:2 "%lf %*lf (%*lf) %*lf (%*lf) %lf (%lf)" t"LE in state (2)" w l ,"trparaaa.txt" every :::0::0 u 1:($2-$3*2) "%lf %*lf (%*lf) %*lf (%*lf) %lf (%lf)" t"" w l 0,"trparaaa.txt" every :::0::0 u 1:($2+$3*2) "%lf %*lf (%*lf) %*lf (%*lf) %lf (%lf)" t"" w l 0
set out "eparaaa1.gif" 
replot

set ter gif small size 400,300
plot [65:100] "erparaaa.txt" every :::0::0 u 1:2 t "e11" w l,"erparaaa.txt" every :::0::0 u 1:3 t "e12" w l
set out "expparaaa11.gif" 
replot

set ter gif small size 400,300
plot [65:100] "erparaaa.txt" every :::0::0 u 1:4 t "e21" w l,"erparaaa.txt" every :::0::0 u 1:5 t "e22" w l
set out "expparaaa21.gif" 
replot

set xlabel "Age" 
set ylabel "Probability" 
set ter gif small size 400,300
plot [65:100] "pijrparaaa.txt" u ($1==1 ? ($3):1/0):($5/($4+$5)) t"prev(1,2)" w l,"pijrparaaa.txt" u ($1==1 ? ($3):1/0):($8/($7+$8)) t"prev(2,2)" w l
set out "pparaaa11.gif" 
replot

p1=-6.490654 
p2=0.045790 
p3=-8.307042 
p4=0.058647 
p5=-3.638365 
p6=-0.021300 
p7=-5.549177 
p8=0.034565 

set ter gif small size 400,300
set log y
plot  [65:100]  exp(p1+p2*x)/(1+exp(p1+p2*x)+exp(p3+p4*x)) t "p12" , exp(p3+p4*x)/(1+exp(p1+p2*x)+exp(p3+p4*x)) t "p13" , exp(p5+p6*x)/(1+exp(p5+p6*x)+exp(p7+p8*x)) t "p21" , exp(p7+p8*x)/(1+exp(p5+p6*x)+exp(p7+p8*x)) t "p23" 
set out "peparaaa1.gif" 
replot


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>