Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: resource intensive in PDF created from ezmesh
Date: Thu, 29 May 2008 09:36:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 39
Message-ID: <g1lte2$c5t$1@fred.mathworks.com>
References: <g169gh$emi$1@fred.mathworks.com> <g1k05j$s4r$1@fred.mathworks.com>
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 1212053762 12477 172.30.248.38 (29 May 2008 09:36:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 29 May 2008 09:36:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1395525
Xref: news.mathworks.com comp.soft-sys.matlab:471114



"Michael Garrity" <mNOSPAMgarrity@mathworks.com> wrote in
message <g1k05j$s4r$1@fred.mathworks.com>...
> "Abe Lau" <abe@nonexistancegmail.com> wrote in message
news:g169gh$emi$1@fred.mathworks.com...
> > Hi All,
> > I have been using ezmesh to generate 3-D plane plots and
> > have come to a problem when importing them into my thesis.
> > The PDF generated from the figure (e.g. ezmesh('2x+3y+4', [1
> > 50 1 50])) gives a very high CPU load when viewing it in all
> > PDF viewers I tried(Acrobat, Kpdf etc).
> >
> > Is it because the vector format is really complicated for
> > the planes, or is there other better/easy alternatives?  SVG
> > doesn't seems to be supported at all in matlab
unfortunately!
> >
> > While the PDF is obviously working, I really don't want to
> > impose a mandatory coffee break whenever other people open
> > the PDF waiting for 50-100 of figures to be rendered!
> >
> > Thanks for all input,
> > Abe
> >
> You're getting something like 3,600 polygons (plus edges) for
> each figure. That's a lot more than you would typically see in
> a figure in a PDF file. Your choices are to lower the
resolution
> or save it in a raster format. When the number of objects is
> large, a high res raster format can sometimes actually be a
> better choice than a vector format.
> 
> 
>     -Mike Garrity
>     -The MathWorks, Inc.
>

Ah, that's right.  I tried to use less polygons and it's
significantly better...  thanks...
just realized my topic doesn't make much sense haha :)