Path: news.mathworks.com!not-for-mail
From: "Dan Haeg" <haegd@msoe.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Re: figure size in pixels?
Date: Sun, 20 Apr 2008 17:22:01 +0000 (UTC)
Organization: Milwaukee School of Engineering
Lines: 31
Message-ID: <fufu3p$es3$1@fred.mathworks.com>
References: <fucvp1$4rl$1@fred.mathworks.com> <fud0ot$223$1@fred.mathworks.com> <fud35s$d6f$1@fred.mathworks.com> <fud75a$onq$1@fred.mathworks.com> <fud9ri$d1h$1@fred.mathworks.com>
Reply-To: "Dan Haeg" <haegd@msoe.edu>
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 1208712121 15235 172.30.248.35 (20 Apr 2008 17:22:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 20 Apr 2008 17:22:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 475291
Xref: news.mathworks.com comp.soft-sys.matlab:464157



"Joaquim Luis" <jluis@--ualg--.pt> wrote in message
<fud9ri$d1h$1@fred.mathworks.com>...
> "David Doria" <daviddoria@gmail.com> wrote in message 
> <fud75a$onq$1@fred.mathworks.com>...
> > Turns out there is an m file on the file exchange called
> > 
> > saveSameSize.m that does exactly what I needed.
> > 
> > If anyone still has a simple explanation of why it didn't
> > work the way I did it I'll still take it haha!
> 
> Maybe you want to read the comments inside my imcapture.m 
> which likely would have done the job as well.
> 
> http://www.mathworks.com/matlabcentral/fileexchange/
> loadFile.do?objectId=13355&objectType=FILE
> 
> J. Luis

Joaquim,
I think your program will help me also. Unfortunately I get
the following error when trying to run your example:

??? Error using ==> imcapture at 191
Error using ==> hardcopy
Unknown device 'none' for hardcopy.

Do you have any idea how to fix it? I am using r2007A on
windows.

Dan