Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: export_fig: image resolution/size
Date: Fri, 9 Oct 2009 10:02:02 +0000 (UTC)
Organization: Toshiba Research Europe Ltd
Lines: 8
Message-ID: <han1mq$t7j$1@fred.mathworks.com>
References: <halah3$2ak$1@fred.mathworks.com> <hamsli$r8t$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 1255082522 29939 172.30.248.35 (9 Oct 2009 10:02:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 9 Oct 2009 10:02:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1073021
Xref: news.mathworks.com comp.soft-sys.matlab:576176


"Oliver Woodford" wrote:
> export_fig doesn't take all the options that print does. I'm considering adding in the ability to increase resolution with an input parameter, but at the moment that feature isn't available.

Hold the phone. I've just added the ability to export bitmaps at an arbitrary resolution, and uploaded it to the FEX. It should appear within the next few days.

The resolution is changed with the -m<value> option (not the -r<value> option used by print), where value is the factor to magnify the on-screen figure dimensions by. I.e. -m2.5 produces a bitmap with 2.5 times the resolution of the source figure. Hopefully this is more intuitive than dpi.

Oliver