Path: news.mathworks.com!not-for-mail
From: "David Doria" <daviddoria@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: different size subwindows?
Date: Mon, 6 Oct 2008 11:48:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 13
Message-ID: <gcctti$58$1@fred.mathworks.com>
References: <gcbeeq$g75$1@fred.mathworks.com> <gccnmq$fdu$1@fred.mathworks.com>
Reply-To: "David Doria" <daviddoria@gmail.com>
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 1223293682 168 172.30.248.35 (6 Oct 2008 11:48:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 6 Oct 2008 11:48:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1105197
Xref: news.mathworks.com comp.soft-sys.matlab:493797


sure sure, 4x as many pixels, i mean twice as many per dimension.

So I've done something like this:

spax1 = subplot(1,2,1); imshow(Original)
spax2 = subplot(1,2,2);
set(gca, 'position',[.1  .1  .8  .6]);
imshow(nearest)

Is there not a more automatic way to do this, where it sizes them based on their size, perhaps(haha)?

Thanks,
Dave