Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Exporting eps images of a certain physical size
Date: Sat, 26 Apr 2008 00:08:02 +0000 (UTC)
Organization: The MathWorks Inc
Lines: 26
Message-ID: <futrp2$lin$1@fred.mathworks.com>
References: <futl2q$s8h$1@aioe.org>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1209168482 22103 172.30.248.38 (26 Apr 2008 00:08:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 26 Apr 2008 00:08:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1034498
Xref: news.mathworks.com comp.soft-sys.matlab:465278



Geico Caveman <spammers-begone@spam.invalid> wrote in
message <futl2q$s8h$1@aioe.org>...
> A publication I am working on requires that all figures be
of a certain size
> (say 8 cm wide). How do I specify this in my output ?
> 
> I have recently found a script named savefig.m on Matlab's
central file
> exchange. Very handy utility for producing eps files with
tight bounding
> boxes etc. but how does one specify the physical size of
the image ?

Set the PaperPosition and PaperUnits property of the figure

My File Exchange fillPage submission helps set the
appropriate properties and allows you to specify the page
size to use (so you can tell it the size is what the
publication wants you to use). It's available from here:
http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectType=author&mfx=1


--
Richard Quist
Software Developer
The MathWorks, Inc