MathGroup Archive 2010

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

Search the Archive

Re: Export 3D plots to pdf in vector format -->large files

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108061] Re: Export 3D plots to pdf in vector format -->large files
  • From: Mike Bryniarski <melondisco at gmail.com>
  • Date: Sun, 7 Mar 2010 05:08:32 -0500 (EST)
  • References: <hmqjkt$t23$1@smc.vnet.net>

The issue is that postscript and pdf do not really support all of the
features in Mathematica 6/7 graphics. Really you should raster format
if you want your plot to look good outside of Mathematica.
However you can make graphics easier for Mathematica to export by
eliminating the smooth shading and adaptive sampling in your Plot3D
command using these options:
MaxRecursion -> 0,  Mesh -> Full, NormalsFunction -> None

Here is an example:
Plot3D[Sin[x + y^2], {x, -3, 3}, {y, -2, 2},
 MaxRecursion -> 0,
 Mesh -> Full,
 NormalsFunction -> None
]

When export this should be much smaller although not very good looking

Another option is to use the command << Version5`Graphics` to enable
the legacy graphics mode. To export these you have to select the
graphic can use the menu option to export the graphic, the normal
Export command does not seem to work.

-Mike Bryniarski

On Mar 5, 4:41 am, former <pma... at gmail.com> wrote:
> I'd like to ask whether there is a way to export 3d surfaces to pdf
> without rasterizing them, while not producing extremely large pdf
> files. In previous versions of Mathematica there existed an option
> RenderAll -> False, which could be used to avoid rendering non-showing
> polygons. Is there a way to have a similar result in version 7?



  • Prev by Date: Re: Re: Re: learning calculus through mathematica
  • Next by Date: Forcing mathematica to output a certain form
  • Previous by thread: Re: Export 3D plots to pdf in vector format -->large files
  • Next by thread: EXPORT TO DIFFERENT FOLDERS