Re: Exporting Graphics to EPS
- To: mathgroup at smc.vnet.net
- Subject: [mg12669] Re: Exporting Graphics to EPS
- From: toysmith at leland.stanford.edu (Larry Gallagher)
- Date: Mon, 1 Jun 1998 23:16:43 -0400
- Organization: Stanford University School of Education
- References: <6kq0e4$skv@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Problem Solved! Somebody had posted a good hint in the Student Support section of the Mathematica web site: http://www.wolfram.com/forum/student-support/current/89134545515831/ It turns out that the path to Mathematica contained one of those Macintosh "option-f" characters. The poster claimed having an apostrophe in the path name causes the same problem. The fact that "findresource" wasn't defined suggested that the init.ps and other files weren't being processed. Turns out psrender probably didn't know how to parse a path name with a bizarre (>ASCII 127) character. This ought to get archived under the Macintosh Support FAQ on the Mathematica web site -- I can't be the only one baffled by this. - Larry In article <6kq0e4$skv at smc.vnet.net>, toysmith at leland.stanford.edu (Larry Gallagher) wrote: >I'm running Mathematica for Students 3.01 (PowerMac 7100, OS 8.1), and >can't for the life of me get psrender to export a simple plot to EPS >format. Here's the run: > >In[2]:= sp = Plot[Sin[x],{x,0,2Pi}] <graphics omitted> >In[3]:= Display["HD2:test.eps",sp,"EPS"] > >Display::"pserr": > "\!\(\"PostScript language error:\\re\" \\[Ellipsis] \"efined, >command \ findresource\\n\"\)" >In[4]:= $Version >Out[4]= "Power Macintosh 3.0 (July 24, 1997)" > > >However, if I click on the plot and use the "Save As... EPS" command >from the Edit menu, it saves correctly. However, I'd really prefer to >use Display and have fine control over options (particularly resizing). > >Also, although $Version returns "3.0", my "About" box claims this is >actually version 3.0.1.1x (Student). "Get Info..." from the Finder >also shows the version of both the front end and kernel to be 3.01. > >Any hints as to what causes that error? > >Thanks, > >Larry Gallagher > >--- >Larry Gallagher, Stanford University School of Education EMAIL: >toysmith at leland.stanford.edu > WWW: http://www.stanford.edu/~toysmith/ --- Larry Gallagher, Stanford University School of Education EMAIL: toysmith at leland.stanford.edu WWW: http://www.stanford.edu/~toysmith/