Ok Sorry
De : users <users-boun...@lists.scilab.org> De la part de Samuel Gougeon Envoyé : jeudi 26 décembre 2019 19:56 À : users@lists.scilab.org Objet : Re: [Scilab-users] Unexpected Figure n°0 in xload instruction under XCOS - Buggzilla 16289 Le 26/12/2019 à 12:01, Perrichon a écrit : 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) I don't catch what you mean with Runing routine in xload help under XCOS. But running this code in the Scilab console yields what is expected. The default figure #0 where plots are drawn and finally cleared is kept, and its saved version is loaded in a separate figure #100. Regards
_______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users