MathGroup Archive 2001

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

Search the Archive

Re: Text and 3D graphics overlay

  • To: mathgroup at smc.vnet.net
  • Subject: [mg28238] Re: Text and 3D graphics overlay
  • From: Roland Franzius <Roland.Franzius at uos.de>
  • Date: Fri, 6 Apr 2001 01:52:47 -0400 (EDT)
  • Organization: Universitaet Osnabrueck
  • References: <9abt5o$k73@smc.vnet.net> <9ael7o$nav@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Thanks for your hint, its of its own value. But this is not the problem
I fight with. I am using "menu/edit/save Selection As special"  to
export eps graphics. This works perfectly even with psfrag. The problem
is the graphics rendering subsystem in Win98 (problem does not exist on
ATI with win 2000) with a Neomagic AV256 mobile video card.

I cant use the Mathematica notebook for demonstrations in the way I
discribed any more. The export to eps and TeX graphics and the eps
rendering using gsview is working as desired.         

Jens-Peer Kuska wrote:
> 
> Hi,
> 
> 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 ---
> Off[FrontEndObject::notavail]
> 
> Export["myfirst.eps",
>   Plot[Sin[x^2],{x,0,Pi},
>     AxesLabel->{"\\tex{$\\phi$}","\\tex{$\\sin(\\phi^2)$}"},
>     DisplayFunction->Identity],
>   "EPS"
>  ]
> Quit[]
> --------------------------------------------------------------------
> 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.
> 
> Regards
>   Jens
> 
> 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>> +++


-- 
Dr. Roland Franzius
Theor. Physik FB Physik, Univ. Osnabrueck
tel ++49 +541 969 2683   fax ++49 +451 969 2670
  +++ exactly <<n>> lines of this message have value <<FALSE>> +++


  • Prev by Date: Re: Patterns Problem
  • Next by Date: Re: Notebooks do not display correctly in 1024X768
  • Previous by thread: Re: Text and 3D graphics overlay
  • Next by thread: Re: fonts using mathematica 4.0 and debian