[Scilab-users] Problem with plot2d, scf, clf

cpt_nemo johannes.eha at web.de
Mon Dec 17 12:21:41 CET 2012


Hello,

on execution of this code i randomly get an error, that the first graphic
window is blank:

/clear;

t_step = 1e-6;
t = [0:t_step:5e-3 - t_step];
u = [zeros(t(1:1000)), ones(t(1001:5000))];

scf(0);
clf();
plot2d(t', u');

//sleep(100);

scf(1);
clf();
plot2d(t', u');/

If i do a sleep between "plot2d()" and the following "scf/clf" (remove the
"//" in my exmple), this error does no longer happen.

I tested with the latest nightly build
(scilab-branch-5.4-1355499000_x64.exe) on 64-bit Windows 7.
I think this is a bug in scilab, is there already a bugzilla entry for this
problem?




--
View this message in context: http://mailinglists.scilab.org/Problem-with-plot2d-scf-clf-tp4025506.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list