Thread Subject: resource intensive in PDF created from ezmesh

Subject: resource intensive in PDF created from ezmesh

From: Abe Lau

Date: 23 May, 2008 11:24:01

Message: 1 of 3

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

Subject: resource intensive in PDF created from ezmesh

From: Michael Garrity

Date: 28 May, 2008 16:10:25

Message: 2 of 3

"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.

Subject: resource intensive in PDF created from ezmesh

From: Abe Lau

Date: 29 May, 2008 09:36:02

Message: 3 of 3

"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 :)

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
pdf ezmesh slow Abe Lau 23 May, 2008 07:25:04
rssFeed for this Thread

Contact us at files@mathworks.com