Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: 20 images in 3x3 plot
Replies: 2   Last Post: Jan 10, 2013 3:00 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Lim

Posts: 3
Registered: 7/27/11
20 images in 3x3 plot
Posted: Jan 3, 2013 3:17 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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.




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.