MathGroup Archive 1998

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

Search the Archive

Re: EPS file of Plot with AxesLabel->{"t","f(t)"}]

I ran the following in Mathematica 3.0 for Win95:

Plot[Sin[x], {x, -2Pi, 2Pi}, AxesLabel -> {"t","f(t)"}]
Display["test.eps", Out[2], "EPS"]

and then opened the file in GhostView 2.3 for Win95. Likewise, the
Y-axis label was displayed as "fHtL." Following the advice of one
respondent, I changed the  font path by going to Options:Configure
Ghostscript... There I appended ";c:<Mathematica
directory>\SystemFiles\Fonts\Type1" to the FONTPATH variable. And lo!
it works.

>Paul Slater wrote:

>> When I use the Display command to create an EPS file with a Plot of the
>> form indicated above, the "f(t)" gets garbeled. My other plots (without
>> "f(t)") work fine. Is there some problem with the use of the
>> parentheses?
>> Paul Slater

>  The program or printer you use can not find the correct Mathematica
>font. If you are using
>Ghostscript on Unix, you can set the environment variable to point to
>the Type1 fonts for
>Mathematica, very much like so:

>setenv GS_FONTPATH /usr/local/mathematica/SystemFiles/Fonts/Type1

>Also look at


>for information on how to make graphs that don't require Mathematica


-----== Posted via Deja News, The Leader in Internet Discussion ==-----   Now offering spam-free web-based newsreading

  • Prev by Date: Re: NonLinearRegress question
  • Next by Date: Re: hypergeometric function
  • Previous by thread: Re: EPS file of Plot with AxesLabel->{"t","f(t)"}]
  • Next by thread: error when moving Notebooks from one PC to another