Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Re: 3d EPS export files huge on Mac OS X, not so much on PCs

  • To: mathgroup at smc.vnet.net
  • Subject: [mg121845] Re: 3d EPS export files huge on Mac OS X, not so much on PCs
  • From: Heike Gramberg <heike.gramberg at gmail.com>
  • Date: Wed, 5 Oct 2011 03:58:35 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201110040532.BAA20783@smc.vnet.net>

I've come across this problem too. As a workaround I ended up exporting 
the pictures to .jpg and
converting these to .eps. For the conversion to .eps I use an external 
script called jpeg2eps which
can be downloaded from http://rses.anu.edu.au/~andy/jpeg2eps/.The 
resulting .eps files are about 100 KB.

Since jpeg2eps is a shell-script, you could export the picture and 
convert it to .eps in one
go by doing something like

p = Plot3D[Sin[x + y^2], {x, -3, 3}, {y, -2, 2}]
Run["bash -l jpeg2eps", Export["testpic.jpg", Image[p, ImageSize -> 
800]]]

Heike.





On 4 Oct 2011, at 07:32, Roger wrote:

> I generated a very simple Plot3D plot on my Mac (OS X v 6.4,
> Mathematica 8.0) and right-click Save As... EPS. The resulting file
> was 1.3MB (with more complex plots, I've seen plot file sizes of
> around 200MB!). When the same plot is processed on a PC running some
> Windows OS, the result is about 400KB. Unfortunately I am required to
> produce EPS files rather than JPGs directly even though LaTeX promptly
> converts them to JPGs.
>
> A similar (identical?) problem was reported four years ago on this
> newsgroup with an older version of Mathematica - except then the
> problem was with PC export:
> 
http://groups.google.com/group/comp.soft-sys.math.mathematica/browse_thread/thread/a669fd00915cbbf5/8d8d847ffca75f6d?lnk=gst&q=plot3d+huge#8d8d847ffca75f6d
>
> Has anyone else seen this issue or have any suggestions? Thanks.
>
>




  • Prev by Date: Re: count zeros in a number
  • Next by Date: Re: How to pass initial conditions to IDA methods via NDSolve?
  • Previous by thread: 3d EPS export files huge on Mac OS X, not so much on PCs
  • Next by thread: Re: 3d EPS export files huge on Mac OS X, not so much on PCs