<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Antoine & Christophe<br>
<br>
A bug has been reported:<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://bugzilla.scilab.org/show_bug.cgi?id=12250">http://bugzilla.scilab.org/show_bug.cgi?id=12250</a><br>
<br>
and I'm currently fixing it.<br>
<br>
Calixte<br>
<br>
<br>
On 29/01/2013 11:06, Antoine Monmayrant wrote:
<blockquote cite="mid:51079F23.1050302@laas.fr" type="cite">On
29/01/2013 10:39, Dang, Christophe wrote:
<br>
<blockquote type="cite">Hello,
<br>
<br>
while trying to make an animation,
<br>
I noticed that some figures were exported with the wrong scale.
<br>
<br>
The scale is set by setting the data_bound axes property.
<br>
<br>
I supposed that the file was created before the scale was set,
<br>
so I introduced a sleep(100) and it solved the problem.
<br>
<br>
Here is a minimal code reproducing the problem;
<br>
the image is empty when the scale is not set.
<br>
<br>
Do I have to report any bug anywhere?
<br>
</blockquote>
Hi,
<br>
<br>
I would say yes, but anyway if you wait ~10 minutes, you'll Get
Sylvestre answer ;)
<br>
<br>
By the way, I also experienced this race condition some times ago
but I did not have time to write a demo to reproduce this bug
reliably.
<br>
<br>
Antoine
<br>
<blockquote type="cite">
<br>
Regards
<br>
<br>
// ********************
<br>
<br>
f0 = scf(0);
<br>
<br>
xmin = 10; xmax = 60;
<br>
<br>
ymin = 0; ymax = 10;
<br>
<br>
for i = 10:60
<br>
clf;
<br>
xpoly([i, i+10, i], [0, 10, 20]);
<br>
a = get('current_axes');
<br>
a.data_bounds = [xmin, ymin ; xmax, ymax];
<br>
// sleep(100);
<br>
<br>
name=('test-anim'+string(i)+'.gif');
<br>
xs2gif(0, name);
<br>
end
<br>
<br>
// ********************
<br>
<br>
</blockquote>
_______________________________________________
<br>
users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Calixte Denizet
Software Development Engineer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
<a class="moz-txt-link-freetext" href="http://www.scilab-enterprises.com">http://www.scilab-enterprises.com</a></pre>
</body>
</html>