[Scilab-users] gcf()
Serge Steer
Serge.Steer at inria.fr
Fri Jul 26 22:42:27 CEST 2013
Le 26/07/2013 21:55, Stefan Du Rietz a écrit :
> Hi,
> if there is no figure, gcf() should return an empty handle, shouldn't
> it? Now you get a handle to a new default figure, which is opened.
> That is the expected (and actual) response from scf().
>
> Is this a bug in gcf()?
>
It should be a logical choice, but changing the gcf and
get("current_figure") behavior will breaks compatibility.
A solution for testing if there is no figure is to check winsid()==[]
Serge
> Regards
> Stefan
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
More information about the users
mailing list