Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12305

Re: Export a graphical plot to pdf file

From Kristjan Kannike <kkannike@ut.ee>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Export a graphical plot to pdf file
Date 2012-11-10 08:30 +0000
Message-ID <k7l3bn$2mp$1@smc.vnet.net> (permalink)
References <k7ct90$dqe$1@smc.vnet.net> <20121108235930.769EC68C0@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


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.

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Export a graphical plot to pdf file Szymon Roziewski <szymon.roziewski@gmail.com> - 2012-11-07 05:57 +0000
  Re: Export a graphical plot to pdf file "Nasser M. Abbasi" <nma@12000.org> - 2012-11-09 00:03 +0000
    Re: Export a graphical plot to pdf file "Kevin J. McCann" <kjm@KevinMcCann.com> - 2012-11-10 07:09 +0000
  Re: Export a graphical plot to pdf file RBaillie <bobbaillie@frii.com> - 2012-11-10 07:09 +0000
  Re: Export a graphical plot to pdf file Kristjan Kannike <kkannike@ut.ee> - 2012-11-10 08:30 +0000
  Re: Export a graphical plot to pdf file Szymon Roziewski <szymon.roziewski@gmail.com> - 2012-11-13 05:15 +0000

csiph-web