<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Désolé David, il manquait un option sur la 3e ligne :<br>
    </p>
    <pre style="font-family:Monospaced;font-style:normal;font-size:12.0;"><font size="+1"><span style="color:rgb(50,185,185);">set</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(0,0,0);">f</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">layout_options</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(0,0,0);">createLayoutOptions</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">grid</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(74,85,219);">[</span><span style="color:rgb(188,143,143);">2</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">2</span><span style="color:rgb(74,85,219);">]</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">layout</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">grid</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(74,85,219);">)</span></font><span style="color:rgb(0,0,0);"><font size="+1">;</font>

</span></pre>
    <div class="moz-cite-prefix">Ca devrait fonctionner comme ça.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">S.<br>
    </div>
    <div class="moz-cite-prefix">Le 17/06/2021 à 15:46, CHEZE David
      227480 a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:088235cbfbee4c95b4f4e4def9b3e4a6@cea.fr">
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">clf;</span><span style="font-size:9.0pt;font-family:"Monospaced",serif"><o:p></o:p></span></pre>
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">f</span><span style="font-size:9.0pt;font-family:"Monospaced",serif"> <span style="color:#5C5C5C">=</span> <span style="color:black">gcf</span><span style="color:#4A55DB">()</span><span style="color:black">;</span><o:p></o:p></span></pre>
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#32B9B9">set</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">(</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">f,</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">"layout_options"</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">,createLayoutOptions</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">(</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">"grid"</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">,</span><span style="font-size:9.0pt;font-family:"Monospaced",serif"> <span style="color:#4A55DB">[</span><span style="color:rosybrown">2</span><span style="color:black">,</span><span style="color:rosybrown">2</span><span style="color:#4A55DB">]))</span><span style="color:black">;</span><o:p></o:p></span></pre>
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">c</span><span style="font-size:9.0pt;font-family:"Monospaced",serif"> <span style="color:#5C5C5C">=</span> <span style="color:black">createConstraints</span><span style="color:#4A55DB">(</span><span style="color:rosybrown">"grid"</span><span style="color:#4A55DB">)</span><span style="color:black">;</span> <i><span style="color:#64AE64">//Create the constraint for nested uicontrols</span></i><o:p></o:p></span></pre>
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif"><o:p> </o:p></span></pre>
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#A020F0">for</span><span style="font-size:9.0pt;font-family:"Monospaced",serif"> <span style="color:black">i</span><span style="color:#5C5C5C">=</span><span style="color:rosybrown">4</span><span style="color:#FFAA00">:</span><span style="color:#5C5C5C">-</span><span style="color:rosybrown">1</span><span style="color:#FFAA00">:</span><span style="color:rosybrown">1</span><o:p></o:p></span></pre>
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif">    <span style="color:black">u_grid</span><span style="color:#4A55DB">(</span><span style="color:black">i</span><span style="color:#4A55DB">)</span> <span style="color:#5C5C5C">=</span> <span style="color:#32B9B9">uicontrol</span><span style="color:#4A55DB">(</span><span style="color:black">f,</span><span style="color:rosybrown">"style"</span><span style="color:black">,</span> <span style="color:rosybrown">"frame"</span><span style="color:black">,</span><span style="color:rosybrown">"constraints"</span><span style="color:black">,</span> <span style="color:black">c,</span> <span style="color:rosybrown">"background"</span><span style="color:black">,</span><span style="color:#4A55DB">[</span><span style="color:rosybrown">1</span> <span style="color:rosybrown">1</span> <span style="color:rosybrown">1</span><span style="color:#4A55DB">])</span><span style="color:black">;</span><o:p></o:p></span></pre>
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#A020F0">end</span><span style="font-size:9.0pt;font-family:"Monospaced",serif"><o:p></o:p></span></pre>
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif"><o:p> </o:p></span></pre>
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#32B9B9">newaxes</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">(</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">u_grid</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">(</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">1</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">))</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">;</span><span style="font-size:9.0pt;font-family:"Monospaced",serif"><o:p></o:p></span></pre>
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">subplot</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">(</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">2</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">,</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">2</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">,</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">1</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">)</span><span style="font-size:9.0pt;font-family:"Monospaced",serif"><o:p></o:p></span></pre>
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">plot</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">(</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">1</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#FFAA00">:</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">10</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">)</span><span style="font-size:9.0pt;font-family:"Monospaced",serif"><o:p></o:p></span></pre>
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">subplot</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">(</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">2</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">,</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">2</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">,</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">2</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">)</span><span style="font-size:9.0pt;font-family:"Monospaced",serif"><o:p></o:p></span></pre>
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">plot</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">(</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#32B9B9">cos</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">(</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">1</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#FFAA00">:</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">10</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">))</span><span style="font-size:9.0pt;font-family:"Monospaced",serif"><o:p></o:p></span></pre>
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif"><o:p> </o:p></span></pre>
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#32B9B9">newaxes</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">(</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">u_grid</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">(</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">4</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">))</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">;</span><span style="font-size:9.0pt;font-family:"Monospaced",serif"><o:p></o:p></span></pre>
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">subplot</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">(</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">2</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">,</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">1</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">,</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">1</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">)</span><span style="font-size:9.0pt;font-family:"Monospaced",serif"><o:p></o:p></span></pre>
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">plot</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">(</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">1</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#FFAA00">:</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">10</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">)</span><span style="font-size:9.0pt;font-family:"Monospaced",serif"><o:p></o:p></span></pre>
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">subplot</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">(</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">2</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">,</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">1</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">,</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">2</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">)</span><span style="font-size:9.0pt;font-family:"Monospaced",serif"><o:p></o:p></span></pre>
      <pre><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black">plot</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">(</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#32B9B9">cos</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">(</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">1</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#FFAA00">:</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown">10</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB">))</span></pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
<a class="moz-txt-link-freetext" href="http://www.utc.fr/~mottelet">http://www.utc.fr/~mottelet</a>
</pre>
  </body>
</html>