Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: subplot transpose
Date: Thu, 9 Jul 2009 18:30:19 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 15
Message-ID: <h35cvr$63s$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1247164219 6268 172.30.248.35 (9 Jul 2009 18:30:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 9 Jul 2009 18:30:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1646679
Xref: news.mathworks.com comp.soft-sys.matlab:554206


for i=1:25
    subplot(5,5,i);
    differences=rand(1,6) ;    bar(differences);    title(i);
end

If you run that code above you'll notice that the numbers run from top left corner, to the right, and then down to the next row and to the right again.

If want them running from top left corner DOWN to the to bottom left, then up to the first row of the next column again.

Basically I want the transpose of the digram that is generated by the code above.

Is there  a way ??

Thanks
xoxo