Dear,

 

Runing routine in xload help under XCOS, but adding a xload in figure n°100,
also create an unexpected empty Figure n°0

So 2 figures are generated : Empty Figure 0 and Figure 100 in the following
example

 

t=0:0.01:10;

subplot(211),plot2d(t,sin(t))

subplot(212),plot2d(t,sin(3*t))

xsave(TMPDIR + "/foo.scg", gcf())

clf()

xload(TMPDIR + "/foo.scg",100)

 

 

Workaround after the set of xload :

 

               // Détruire la fenêtre n°0 (bug?)

               //-------------------------------

               lista=winsid()

               b=find(lista==0)

               if b<>[] then xdel(lista(b)); end;

 

Best regards.

Pierre P.

 

_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to