Re: export eps

*To*: mathgroup at smc.vnet.net*Subject*: [mg90734] Re: export eps*From*: Peter Breitfeld <phbrf at t-online.de>*Date*: Tue, 22 Jul 2008 03:56:27 -0400 (EDT)*References*: <g5s9tr$557$1@smc.vnet.net> <g5v5ng$iba$1@smc.vnet.net>

This may be a little off topic: I browsed through the documentation, but could not find which Methods are possible and what they mean. Can anyone give me a hint where all possible setting of Method are listed including a description of their meaning? Jens-Peer Kuska schrieb: > Hi, > > since you don't give us an example I can only try to reduce the size > with my own example > > plt = ContourPlot[Sin[x*y], {x, -Pi, Pi}, {y, -Pi, Pi}]; > FileInformation[Export["i:/temp/ctest.eps", plt]] > > gives > {File -> "I:\\temp\\ctest.eps", FileType -> File, Date -> 3425476087, > ByteCount -> 2688623} > > while > > plt1 = ContourPlot[Sin[x*y], {x, -Pi, Pi}, {y, -Pi, Pi}, > MaxRecursion -> 0, PlotPoints -> 64, > Method -> {"Refinement" -> {"CellDecomposition" -> "Quad"}}] > FileInformation[Export["i:/temp/ctest1.eps", plt1]] > > > gives > > {File -> "I:\\temp\\ctest1.eps", FileType -> File, Date -> 3425476179, > ByteCount -> 679263} > > the last file is nearly 4 times smaller > > and > > plt2 = ContourPlot[Sin[x*y], {x, -Pi, Pi}, {y, -Pi, Pi}, > MaxRecursion -> 0, PlotPoints -> 32, > Method -> {"Refinement" -> {"CellDecomposition" -> "Quad"}}]; > FileInformation[Export["i:/temp/ctest2.eps", plt2]] > > gives a nearly 9 times smaller *.eps file. > > So you have to play around a with the PlotPoints and MaxRecursions > option. > > How ever since the refinement is adaptive, the size reduction depend on > the function you try to plot. > > Hope that helps > Jens > > > > > jamesmgg at googlemail.com wrote: >> hi >> >> I have a graph generated with ContourPlot3D. >> >> when I try to export it as eps, the eps file is 50MB size. >> >> I need to use the eps image in Latex. >> >> how to solve this problem >> > Gruss Peter -- ==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-== Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de