##################################
# weights in weight space
################################## 
#
# showing laplace approx. 

set xtics
set autos xy
set nologs xy
set parametric
load "gnu/square" 
# gets size right
# set size 0.54,0.7
set nokey 
# set xlabel "w1" ; set ylabel "w2" 

m11 = 0.774308; m12 =   0.057637 ; m21 =   0.057637; m22 =  0.889698

# set autos xy
set xrange [-0.5:6.3] ; set yrange [-3:5]
set title "Gaussian approximation",0
plot [t=0:6.285] "wlwd01" u 2:3 w p 5 3,  (1.2283+m11*sin(t)+m12*cos(t)),( 0.84162+m21*sin(t)+m22*cos(t)) w l 4,  (1.2283+2*m11*sin(t)+2*m12*cos(t)),( 0.84162+2*m21*sin(t)+2*m22*cos(t)) w l 4
pause long " Gaussian approximation "

set title "Gaussian approximation c.f. Langevin",0
plot [t=0:6.285] "wlangmc.uniform" u 2:3 w p 3 2, "wlwd01" u 2:3 w p 5 3,  (1.2283+m11*sin(t)+m12*cos(t)),( 0.84162+m21*sin(t)+m22*cos(t)) w l 4,  (1.2283+2*m11*sin(t)+2*m12*cos(t)),( 0.84162+2*m21*sin(t)+2*m22*cos(t)) w l 4
pause long " Gaussian approximation "

set autos xy 
set noparametric
