Hi, Assuming at some point, before drawing a variable N is assigned for the total number of axes, you can use subplot. For example you can choose m by n arrangement (mxn=N) as follow: switch N case{1 2 3} m=1; n=N; case {4 5 6} m =2; n = 3; ... end for k=1:N subplot(m,n,k), imshow(Pic{k}); % Pic is a cell array of images or images file names. end I hope this helps Joe Sababa The new BSTeX - Equation viewer for Matlab7 http://www.geocities.com/bstex2001/ --- imagetigers au <> wrote: > Hello Friends, > I'm doing my project in the area of image storage > and retrieval in > image databases. > In my retrieval GUI,i need to create axes(to display > the image) > dynamically.The number of axes will be known only at > the run time(by > means of a variable).If anyone could help me soon,it > would be very > helpful to me. > Thanks in advance...Anticipating ur kind help... > Pradeep > __________________________________________________ > __________________________________ |