It is best to store the handle to the axes object when you create it.
set(gfc, 'Windowstate', 'maximized')
ax={};
for n=1:21
hold on
ax{n}=subplot(3,7,n)
myScript
end
set(ax{11},'color', [1 1 0]);
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!