[Scilab-users] How to remove all the figure in a single instruction

Stéphane Mottelet stephane.mottelet at utc.fr
Mon Dec 5 12:28:19 CET 2016


Sorry, Denis was faster than me... Btw, the graphical objects hierachy 
is missing a root window object, i.e. something that would allow :

-->rw=get("root_window")
  rw  =

Handle of type "Root" with properties:
========================================
children: ["Figure","Figure"]

and later

-->delete(get(rw,"children"))

S.


Le 05/12/2016 à 12:07, CRETE Denis a écrit :
> Hello,
> xdel(winsid())
>
> HTH
> Denis
>
> [@@ THALES GROUP INTERNAL @@]
>
> Unité Mixte de Physique CNRS / THALES
> 1 Avenue Augustin Fresnel
> 91767 Palaiseau CEDEx - France
> Tel : +33 (0)1 69 41 58 52 Fax : +33 (0)1 69 41 58 78
> e-mail :
>   denis.crete at thalesgroup.com <mailto:%20denis.crete at thalesgroup.com>
>   http://www.trt.thalesgroup.com/ump-cnrs-thales
>   http://www.research.thalesgroup.com
>
>
> -----Message d'origine-----
> De : users [mailto:users-bounces at lists.scilab.org] De la part de paul.carrico at free.fr
> Envoyé : lundi 5 décembre 2016 12:06
> À : users at lists.scilab.org
> Objet : [Scilab-users] How to remove all the figure in a single instruction
>
> Hi All
>
> To remove all the figures in a single instruction, I'm using Xdel keyword; for example, "xdel(1:10)" for the figure 1 to 10.
>
> Nevertheless if I manually remove one of them in the meantime, it does not work anymore.
>
> Is there another way to proceed?
>
>
> Nota bene: I tried something like "xdel(1:$)" but it does not work -> would such way be interesting?
>
> Paul
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users


-- 
Département de Génie Informatique
EA 4297 Transformations Intégrées de la Matière Renouvelable
Université de Technologie de Compiègne -  CS 60319
60203 Compiègne cedex




More information about the users mailing list