MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Export a graphical plot to pdf file

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128619] Re: Export a graphical plot to pdf file
  • From: Kristjan Kannike <kkannike at ut.ee>
  • Date: Sat, 10 Nov 2012 02:07:52 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <k7ct90$dqe$1@smc.vnet.net> <20121108235930.769EC68C0@smc.vnet.net>

Hello,

The problem is that ContourPlot, DensityPlot etc. compose their plot of
lots of tiny polygons. PDF is a vector format and preserves them all. The
PDF file becomes large and loads and scrolls slowly.

There is a FixPolygons package that merges polygons of the same colour
that results in drastically reduced PDF size:

https://github.com/wspr/mmapkg

This works well with ContourPlot. Unfortunately not so well (sometimes)
with DensityPlot as its polygons are filled with gradients, not one
colour.

Best,
Kristjan Kannike

On Thu, 8 Nov 2012, Nasser M. Abbasi wrote:

> On 11/6/2012 11:57 PM, Szymon Roziewski wrote:
> > Hi there,
> >
> > I have a ContourPlot result which I need to put into pdf file.
> > The problem is that the filled area is in a mess, I mean there are lots of
> > thin white stripes on it.



  • Prev by Date: Re: Implicit Times
  • Next by Date: Re: Export a graphical plot to pdf file
  • Previous by thread: Re: Export a graphical plot to pdf file
  • Next by thread: Re: Export a graphical plot to pdf file