<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Monospaced;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:"Courier New";
        mso-fareast-language:FR;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Bonjour <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">J’ai remarqué un comportement étrange avec mon installation : scilab 6.0.1 WIN7 64 bits : lorsque je place les macros de création de graphiques au sein d’une boucle d’interaction via la console scilab, les fenêtres graphiques ne sont plus
 interactives (aucune des fonctions menus ou boutons de la fenêtre grpahique ne sont accessibles) tant que je n’ai pas interrompu la boucle principale de saisie console. Cf script simplifié ci-dessous pour reproduire le comportement.                 -->bugzilla
 ?<o:p></o:p></p>
<p class="MsoNormal">Merci pour vos commentaires, solutions pour reprendre la main sur ces fenêtres graphiques isolées ?<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR">David
</span><span style="mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#64AE64;mso-fareast-language:FR">//traitement d'un jeu de fichiers</span></i><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#32B9B9;mso-fareast-language:FR">mprintf</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB;mso-fareast-language:FR">(</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown;mso-fareast-language:FR">"saisie
 indice>=1 , [] pour quitter:\n"</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB;mso-fareast-language:FR">)</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:black;mso-fareast-language:FR">saisie</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#5C5C5C;mso-fareast-language:FR">=</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#32B9B9;mso-fareast-language:FR">mscanf</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB;mso-fareast-language:FR">(</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown;mso-fareast-language:FR">"%s"</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB;mso-fareast-language:FR">)</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#64AE64;mso-fareast-language:FR">//sélection indices pour traitement de la pile de fichier
</span></i><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;color:black;mso-fareast-language:FR">prof</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;color:#5C5C5C;mso-fareast-language:FR">=</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB;mso-fareast-language:FR">[</span><u><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;color:#AE5CB0;mso-fareast-language:FR">evstr</span></u><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB;mso-fareast-language:FR">(</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;color:black;mso-fareast-language:FR">saisie</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB;mso-fareast-language:FR">)]</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;color:#5C5C5C;mso-fareast-language:FR">'</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">    
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;color:#A020F0;mso-fareast-language:FR">while</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">
<span style="color:black">prof</span><span style="color:#5C5C5C"><></span><span style="color:#4A55DB">[]</span>
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">    </span><i><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#64AE64;mso-fareast-language:FR">//configuration du traitement
 sur le jeu de fichiers sélectionnés</span></i><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">   
<span style="color:#32B9B9">mprintf</span><span style="color:#4A55DB">(</span><span style="color:rosybrown">"graphiques des tests ? 0/1 \n"</span><span style="color:#4A55DB">)</span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">   
<span style="color:black">graphique</span><span style="color:#5C5C5C">=</span><span style="color:#32B9B9">mscanf</span><span style="color:#4A55DB">(</span><span style="color:rosybrown">"%d"</span><span style="color:#4A55DB">)</span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">   
<i><span style="color:#64AE64">//traitement</span></i><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">   
<span style="color:#A020F0">if</span> <span style="color:black">graphique</span> <span style="color:#A020F0">
then</span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">       
</span><u><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;color:#AE5CB0;mso-fareast-language:FR">scf</span></u><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB;mso-fareast-language:FR">()</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;color:black;mso-fareast-language:FR">;</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">       
<span style="color:black">x</span><span style="color:#5C5C5C">=</span><span style="color:#4A55DB">[</span><span style="color:rosybrown">1</span><span style="color:#FFAA00">:</span><span style="color:rosybrown">50</span><span style="color:#4A55DB">]</span><span style="color:#5C5C5C">'</span><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">       
<span style="color:black">Donnees</span> <span style="color:#5C5C5C">=</span> <span style="color:#32B9B9">
grand</span><span style="color:#4A55DB">(</span><span style="color:rosybrown">50</span><span style="color:black">,</span><span style="color:rosybrown">3</span><span style="color:black">,</span><span style="color:rosybrown">'unf'</span><span style="color:black">,</span><span style="color:rosybrown">0</span><span style="color:black">,</span><span style="color:rosybrown">120</span><span style="color:#4A55DB">)</span><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">       
<span style="color:#A020F0">try</span> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">            <span style="color:#A020F0">for</span>
<span style="color:black">i</span><span style="color:#5C5C5C">=</span><span style="color:rosybrown">1</span><span style="color:#FFAA00">:</span><span style="color:rosybrown">4</span><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">               
<u><span style="color:#AE5CB0">subplot</span></u><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:black">,i</span><span style="color:#4A55DB">)</span><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">               
<span style="color:#32B9B9">plot2d</span><span style="color:#4A55DB">(</span><span style="color:black">x,Donnees</span><span style="color:#4A55DB">)</span><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">                <u><span style="color:#AE5CB0">legend</span></u><span style="color:#4A55DB">(</span><span style="color:rosybrown">"D1"</span><span style="color:black">,</span><span style="color:rosybrown">"D2"</span><span style="color:black">,</span><span style="color:rosybrown">"D3"</span><span style="color:#4A55DB">)</span><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">           
<span style="color:#A020F0">end</span><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">       
<span style="color:#A020F0">catch</span><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">           
</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#32B9B9;mso-fareast-language:FR">disp</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB;mso-fareast-language:FR">(</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:rosybrown;mso-fareast-language:FR">"Erreur
 représentation graphique impossible"</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#4A55DB;mso-fareast-language:FR">)</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">       
<span style="color:#A020F0">end</span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">   
<span style="color:#A020F0">end</span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">   
<i><span style="color:#64AE64">//invite nouvelle sélection de traitement</span></i><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">   
<span style="color:#32B9B9">mprintf</span><span style="color:#4A55DB">(</span><span style="color:rosybrown">"saisie indice>=1 , [] pour quitter:\n"</span><span style="color:#4A55DB">)</span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">   
<span style="color:black">saisie</span><span style="color:#5C5C5C">=</span><span style="color:#32B9B9">mscanf</span><span style="color:#4A55DB">(</span><span style="color:rosybrown">"%s"</span><span style="color:#4A55DB">)</span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR">   
<span style="color:black">prof</span><span style="color:#5C5C5C">=</span><span style="color:#4A55DB">[</span><u><span style="color:#AE5CB0">evstr</span></u><span style="color:#4A55DB">(</span><span style="color:black">saisie</span><span style="color:#4A55DB">)]</span><span style="color:#5C5C5C">'</span>  
<i><span style="color:#64AE64">//en colonne </span></i><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Monospaced",serif;color:#A020F0;mso-fareast-language:FR">end</span><span style="font-size:9.0pt;font-family:"Monospaced",serif;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>