MathGroup Archive 2001

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

Search the Archive

Re: Text and 3D graphics overlay

  • To: mathgroup at
  • Subject: [mg28195] Re: Text and 3D graphics overlay
  • From: Jens-Peer Kuska <kuska at>
  • Date: Wed, 4 Apr 2001 04:13:20 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <9abt5o$>
  • Sender: owner-wri-mathgroup at


don't use the FrontEnd to generate PSFrag graphics !
Only the kernel alone will do this well. The reason
is, that the kernel tyr to typeset your Text[] primitives
and split nice things like "myPSFragLabel" into singel placed
characters. These characters are not more reconized by PSFrag
It would need 

x y moveto
(myPSFragLabel) show

but it get

x1 y1 moveto
(m) show
x2 y2 moveto
(y) show
x3 y3 moveto
(P) show

The best solution is to use the Kernel alone and make a small
file with your graphics commands, i. e. 

----------------------------------------------------- firstpic.m ---

and run the kernel with

<< firstpic.m

You may still use a alternative TeX based frontend that run the
kernel as MathLink child, redefine the DisplayFunction to save
EPS and insert the wired \\tex{something} in your labels.


Roland Franzius wrote:
> I have just been confronted with a graphics problem I cannot find a
> solution for.
> I was used to generate graphics with  some short text identifyers using
> Text["placeholder",position] and combine this with Plot[] using Show[].
> Then I was able to replace the idetntifyer by TeX text using the psfrag
> package in TeX.
> Now, in vs 4.0 using Windows 98 text parts in combination with graphis
> got a background color box punching holes into the plot. Option
> Background->None did not change anything.
> I browsed the math group archives without any result. Any suggestions?
> Thanks in advance.
> --
> Roland Franzius
>   +++ exactly <<n>> lines of this message have value <<FALSE>> +++

  • Prev by Date: Re: Re: Strange error message from NIntegrate
  • Next by Date: Notebooks do not display correctly in 1024X768
  • Previous by thread: Text and 3D graphics overlay
  • Next by thread: Re: Text and 3D graphics overlay