<div dir="ltr"><div>Just checked on my Scilab (5.4.1) Windows 7 64-bit</div><div> </div><div>Same issues as you quoted: </div><div>plot2d("nl", [1:2], [%nan;1]);// causes crash (or infinite loop)</div><div>plot2d("nl", [1:2], [1; %nan]); // no problem - plot drawn</div>
<div> </div><div>Lester</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 12 March 2014 10:39, Antoine Monmayrant <span dir="ltr"><<a href="mailto:antoine.monmayrant@laas.fr" target="_blank">antoine.monmayrant@laas.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 03/12/2014 11:03 AM, Iai Masafumi ax wrote:<br>
</div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">
Could anyone confirm this is a bug of Scilab? Is it a known bug?<br>
<br>
Scilab got stuck on my PC after I entered the command below:<br>
<br>
figure(1);plot2d("nl", [1:2], [%nan; 1]+%eps);<br>
<br>
I had to kill the process on the windows task manager. I tested it<br>
multiple times with the same result.<br>
<br>
I am using Scilab 5.4.1 on Windows 7.<br>
<br>
Iai<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/<u></u>mailman/listinfo/users</a><br>
</blockquote>
<br>
<br></div></div>
After some trial and errors, I found that the combination of logscale along y and %nan value along y is the real problem.<br>
This triggers the bug:<br>
-->plot2d("nl", [1:2], [%nan;1]);// scilab freezes<br>
However, this seems to be fine:<br>
-->plot2d("nl", [1:2], [1; %nan]); // no problem<br>
<br>
Do you want me to report this bug?<span class="HOEnZb"><font color="#888888"><br>
<br>
Antoine</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/<u></u>mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>