MathGroup Archive 2004

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

Search the Archive

Re: Mathematica exports curves in pieces to Illustrator

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45389] Re: Mathematica exports curves in pieces to Illustrator
  • From: "Thomas Manz" <thomasmanz at web.de>
  • Date: Tue, 6 Jan 2004 04:16:46 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi!

I had the same problem and found that Mathematica defines own functions in the eps-file. But the function "Mistroke" which "cuts" all the curves doesn´t seem to be necessary:

filename = "D:\\figure1.eps";
Export[filename, fig1]
epsfile = Import[filename, "Text"];
epsneu = StringReplace[epsfile, "Mistroke" -> ""];
Export[filename, epsneu, "Text"]

This small script just exports the graph fig1 to an eps-file, imports the file again, eliminates the "Mistroke" function and writes back the eps-file.

Till now I had no problems with this (not very clean) method!

Thomas


>>> Ralph Reinbeck<Mattiephly at hotmail.com> 02.01.2004 10:34:23 >>>
Hello.  I use Mathematica to generate plots in EPS files, and then I
use Adobe Illustrator to edit the EPS files.  Here's my problem: I
plot y = x^2 and open the EPS file in Illustrator, but when I click on
the curve, Illustrator only highlights (selects) a piece of the
parabola (and not the entire parabola).  Sometimes it even selects a
piece of the curve and a piece of an axis, but I cannot select just
the curve, or just an axis.  I've posted a similar question on the
Adobe Forums, but with little success.

Any suggestions?  I appreciate any help that's out there.

Thanks a lot,
R




  • Prev by Date: Re: Transpose matrix does not work when MatrixForm is used, why?
  • Next by Date: Re: Transpose matrix does not work when MatrixForm is used, why?
  • Previous by thread: Palette rememberance
  • Next by thread: Re: Mathematica exports curves in pieces to Illustrator