Path: news.mathworks.com!not-for-mail
From: "Jacob " <jacob.barton1@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Square figure window?
Date: Wed, 4 Nov 2009 23:55:21 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 7
Message-ID: <hct499$av8$1@fred.mathworks.com>
References: <hcrcla$pbf$1@fred.mathworks.com> <hcrf5u$k8i$1@fred.mathworks.com>
Reply-To: "Jacob " <jacob.barton1@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 1257378921 11240 172.30.248.35 (4 Nov 2009 23:55:21 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 4 Nov 2009 23:55:21 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1603791
Xref: news.mathworks.com comp.soft-sys.matlab:582565


Thanks Jos,

That returns the size off the screen, but still doesn't explain why a window 500x500 isn't square. I read in the documentation that you can change the units from pixels to normalized or absolute so was just wondering what the best approach is.

I dont understand why anyone would work in pixels if a window specified as 500x500 isn't square. Its like comparing apples and oranges isn't it? Plus your GUI will be dependent on the pixel density dpiX and dpiY so it might look completely different on another machine?

Regards Jake