<simulation>
  
<header>
    
<title>Mélange de gausiennes</title>
    
<title lang="english">Gaussian mix</title>
    
<title lang="spanish">Mezcla de gausiana</title>
    
<author>Stéphane Mottelet, Guillaume Barbaud</author>
    
<date>Fri Sep 23 18:56:50 CEST 2005</date>
    
<keywords>simulation,scilab,xml</keywords>
    
<keywords lang="spanish">Simulación, Scilab, XML</keywords>
  
</header>
  
<notes>
    
<p>Les croix matérialisent les positions des centres des gaussiennes. Cliquer sur une
        croix et déplacez-la ensuite avec la souris
</p>
  
</notes>
  
<notes lang="english">
    
<p>The crosses represent the centers of the gaussians. CLick on one cross and move
        it with the mouse.
</p>
  
</notes>
  
<notes lang="spanish">
    
<p>Las cruces representan las posiciones de los centros de las gausianas. Haga clic en la cruz y desplácela con el ratón.</p>
  
</notes>
  
<parameters><section>
      
<title>Centres des gaussiennes</title>
      
<title lang="english">Centers of the gaussians</title>
      
<title lang="spanish">Centros de las gausianas</title>
      
<point label="p1" state="disabled"><name>Point numéro 1</name><name lang="english">Point number 1</name><name lang="spanish">Punto número 1</name><x1 label="x1">
          
<value>1</value>
        
</x1><x2 label="y1">
          
<value>2</value>
        
</x2><constraints>
          
<inequality>x1*(x1-10)</inequality>
          
<inequality>y1*(y1-10)</inequality>
        
</constraints></point>
      
<point label="p2" state="disabled"><name>Point numéro 2</name><name lang="english">Point number 2</name><name lang="spanish">Punto número 2</name><x1 label="x2">
          
<value>2</value>
        
</x1><x2 label="y2">
          
<value>3</value>
        
</x2><constraints>
          
<inequality>x2*(x2-10)</inequality>
          
<inequality>y2*(y2-10)</inequality>
        
</constraints></point>
      
<point label="p3" state="disabled"><name>Point numéro 3</name><name lang="english">Point number 3</name><name lang="spanish">Punto número 3</name><x1 label="x3">
          
<value>3</value>
        
</x1><x2 label="y3">
          
<value>3</value>
        
</x2><constraints>
          
<inequality>x3*(x3-10)</inequality>
          
<inequality>y3*(y3-10)</inequality>
        
</constraints></point>
      
<scalar increment="1" label="az" max="90" min="-90"><name>Azimuth</name><name lang="spanish">Acimut</name><value>45</value></scalar>
      
<scalar increment="1" label="el" max="90" min="-90"><name>Elévation</name><name lang="english">Elevation</name><name lang="spanish">Elevación</name><value>45</value></scalar>
    
</section></parameters>
  
<compute>
    
<defdomain2d label="carre">
      
<name>Carré unité</name>
      
<name lang="english">Unit square</name>
      
<name lang="spanish">Cuadrado unidad</name>
      
<rectangle>
        
<defdomain1d label="x">
          
<name>x</name>
          
<name lang="spanish">X</name>
          
<interval steps="20">
            
<initialvalue>0</initialvalue>
            
<finalvalue>10</finalvalue>
          
</interval>
        
</defdomain1d>
        
<defdomain1d label="y">
          
<name>y</name>
          
<name lang="spanish">Y</name>
          
<interval steps="20">
            
<initialvalue>0</initialvalue>
            
<finalvalue>10</finalvalue>
          
</interval>
        
</defdomain1d>
      
</rectangle>
    
</defdomain2d>
  
</compute>
  
<graphs>
    
<nonparametricsurface label="mysurf">
      
<refdomain2d ref="carre" />
      
<x3 label="z">
        
<name>z</name>
        
<name lang="spanish">Z</name>
        
<value>exp(-((x-x1).^2+(y-y1).^2)/2)/sqrt(2*%pi*0.1)+
                          exp(-((x-x2).^2+(y-y2).^2)/2)/sqrt(2*%pi*0.2)+
                          exp(-((x-x3).^2+(y-y3).^2)/2)/sqrt(2*%pi*0.3)
</value>
      
</x3>
    
</nonparametricsurface>
  
</graphs>
  
<display background="blue">
    
<window colormap="hot" splitx="2">
      
<title>Allure du mélange</title>
      
<title lang="english">Visualization of the mix</title>
      
<title lang="spanish">Pinta de la mezcla</title>
      
<axis2d iso="yes" cmin="0" cmax="3" colorbar="on">
        
<drawsurface ref="mysurf" shading="interp" />
        
<drawpoints ref="p1 p2 p3" />
      
</axis2d>
      
<axis3d iso="yes" azimuth="az" elevation="el">
        
<drawsurface ref="mysurf" shading="flat" mode="wireframe" />
      
</axis3d>
    
</window>
  
</display>
</simulation>