[Scilab-users] How to identify componants in a figure ?

Perrichon perrichon.pierre at wanadoo.fr
Fri Oct 11 11:18:58 CEST 2019


Hello

 

In my application, built with uicontrol in a main figure, I add graphs
(Axes) with bode or Nyquist plot in the the main frame

 

So, at the end, if we do

f=gcf()

I get :

 

children: matrix 39x1

 

I add 

a=f.children

 

Then a is a collection (with bode) :

 

Axes      

uicontrol 

uicontrol 

uicontrol 

uicontrol 

uicontrol 

uicontrol 

uicontrol 

uicontrol 

uicontrol 

uicontrol 

uicontrol 

uicontrol 

uicontrol

...

uicontrol 

uicontrol 

uimenu    

uimenu    

Axes      

 

So, How can I get, in a loop with length(a), the numbers of the chidren who
are Axes ?

 

In that case I hope something like [1, 39]

 

Is there a way to do that ?

I find nothing with the < get > function ?

 

Thanks

 

Pierre P.

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20191011/5ae11b19/attachment.htm>


More information about the users mailing list