<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello Denis,<br>
<br>
Le 06/06/2018 à 12:57, CRETE Denis a écrit :<br>
</div>
<blockquote
cite="mid:51b900e6000a414ea7a45c265aa37bbb@thalesgroup.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
color:black;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
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";
color:black;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Arial","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:Consolas;
color:black;
mso-fareast-language:EN-US;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Arial","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@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]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-family:"Arial","sans-serif";color:#1F497D">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Arial","sans-serif";color:#1F497D"
lang="EN-US">Thank you for your quick answer.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Arial","sans-serif";color:#1F497D"
lang="EN-US">I could get a correct behaviour with your code.
However, if you run this part of the code:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">g_test=scf();<br>
x=-1:0.01:1; y=sin(2*%pi*x); z=cos(2*%pi*x);<br>
plot2d(x',[y;z]',style=1:2)<br>
legends(['Sin','Cos'],1:2,"ur") // with an _s_, as in your
post<br>
twinkle(gcf().children(1))<br>
save("fig0.dat","g_test")<br>
<br>
xdel(gcf().figure_id)<br>
</span><span
style="font-family:"Arial","sans-serif";color:#1F497D"
lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Arial","sans-serif";color:#1F497D"
lang="EN-US">and terminate with the command:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">g_man=scf();<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Arial","sans-serif";color:#1F497D"
lang="EN-US">Now from the (empty) graphic window I click on
</span><span lang="EN-US">“File”/”Load</span><span
style="font-family:"Arial","sans-serif";color:#1F497D"
lang="EN-US">” and type in
</span><span lang="EN-US">“*.dat”</span><span
style="font-family:"Arial","sans-serif";color:#1F497D"
lang="EN-US"> + select
</span><span lang="EN-US">“fig0.dat”</span><span
style="font-family:"Arial","sans-serif";color:#1F497D"
lang="EN-US"> then, I end up with the legend in the
background (and thus invisible until I issue the console
command
</span><span lang="EN-US">g_man.children(1).filled=”off”</span><span
style="font-family:"Arial","sans-serif";color:#1F497D"
lang="EN-US">…</span></p>
</div>
</blockquote>
<br>
Confirmed. Thanks for reporting this issue. It shall be fixed in
Scilab 6.0.2 with<br>
<a class="moz-txt-link-freetext" href="https://codereview.scilab.org/20125">https://codereview.scilab.org/20125</a><br>
<br>
Regards<br>
Samuel<br>
<br>
</body>
</html>