Re: Exporting .eps file, screen doesn't match .eps file
- To: mathgroup at smc.vnet.net
- Subject: [mg114151] Re: Exporting .eps file, screen doesn't match .eps file
- From: Alexei Boulbitch <alexei.boulbitch at iee.lu>
- Date: Thu, 25 Nov 2010 05:58:13 -0500 (EST)
Hi, Anne, I also recently had a problem like you described in your post, when making an illustration for a publication for a journal accepting only eps graphic files. A part of my image represented a solution of a differential equation (obtained within Mathematica and unrealistic to be drawn "by hand"), another part consisted of notations, arrows indicating special points, and letters (in other words, a text). At that time I used Math. 7, as you probably do. My way to cope with this problem was to create the essential image part (i.e. the graph of the solution) in Mathematica, to export it then to eps, and to open it and add less important details by a graphics editor that can work with eps files. I used Adobe Illustrator. However, it is much better and easier, if one does all this within Mathematica. I had a look what happens with your image, if your file is executed and the results are viewed within Math. 8. The eps image looked in this case as the nb one. This is a good part of information. The text however, does not look great in the both of them. I would say that it is below the quality required for a journal publication. It is interesting, if it may be improved. Regards, Alexei Hi, I need to export a figure as an eps file. The figure will contain a 3D plot, and Graphics objects including spheres, dashed lines, arrows, and text. When I export the figure, the picture in the eps file doesn't match what is shown on the screen of the Mathematica 7 frontend- the text is moved to different places relative to other elements and the dashed lines appear solid. The command at the end of this post demonstrates some of these errors. How do I fix the dashed lines? How do I control the relative size of the text without doing a trial and error? Other than adding a PlotRange option to the Show command, is there another way to ensure that all of the text and objects will be included in the bounding box of the figure? How can I make the exported figure appear identical to the figure in the frontend? I see from previous posts that others have had difficulty with exporting eps files, but unfortunately that format is not my choice and converting from jpeg to eps looks bad (at least it looks bad using ImageMagick, Gimp, and other Linux utilities that I have tried.) Any general help in how to more easily produce .eps diagrams in Mathematica would be welcome. Thanks, A.G. sample=Show[Graphics3D[{Brown, Thickness[0.03], Dashed, Line[{{0, 0, 0}, {2, 2, 2}}]}], Graphics3D[{Blue, Sphere[{3, 3, 3}, 0.08]}, Boxed -> False, Ticks -> None, Axes -> False], Graphics3D[{Blue, FontSize -> 40, Text["Some Text Here", {-3, 3, 3}]}, Boxed -> True, BoxRatios -> {4, 3, 3}, Ticks -> None, Axes -> False], Graphics3D[{Green, FontSize -> 40, Text["More Text", {2, -2, 1}]}, Boxed -> True, BoxRatios -> {4, 3, 3}, Ticks -> None, Axes -> False]] Export["sample.eps",sample] -- Alexei Boulbitch, Dr. habil. Senior Scientist Material Development IEE S.A. ZAE Weiergewan 11, rue Edmond Reuter L-5326 CONTERN Luxembourg Tel: +352 2454 2566 Fax: +352 2454 3566 Mobile: +49 (0) 151 52 40 66 44 e-mail: alexei.boulbitch at iee.lu www.iee.lu -- This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you are not the intended recipient and have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal from your system. Thank you for your co-operation.