Hi,
if you want to count how many axes-children there are in a figure, you may
work with "tags".
Quick-n-dirty example below.
best regards,
Philipp
clc;clear();
// create the figuref = figure();
// first axesplot3d();a3d = gca();a3d.tag = 'axes';
// menumenu_1=uimenu(f,'label',
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