Date: Jan 3, 2013 3:17 AM
Author: Lim
Subject: 20 images in 3x3 plot

I have 20 images and I want to put them in a 3x3 subplot in each figure, how to call up the new figure when the first figure is 'full'?

nCol = 20;
for k = 1:nCol
C1 = original;
C1(rgb_label ~= k) = 0;
blah{k} = C1;
end

I am now using the painstaking subplot code:
figure(1),subplot(3,3,1),imshow(blah{1});
subplot(3,3,2),imshow(blah{2});
...

Please help.