MathGroup Archive 2004

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

Search the Archive

Re: Adding text labels and such to 3D plots?

  • To: mathgroup at
  • Subject: [mg52078] Re: [mg52069] Adding text labels and such to 3D plots?
  • From: Andrzej Kozlowski <akoz at>
  • Date: Wed, 10 Nov 2004 04:45:16 -0500 (EST)
  • References: <>
  • Sender: owner-wri-mathgroup at

On 9 Nov 2004, at 15:37, AES/newspost wrote:

> *This message was transferred with a trial version of CommuniGate(tm) 
> Pro*
> If I'm reading The Mathematica Book correctly, one adds Text and 
> similar
> added graphic stuff to 3D graphics by positioning this added stuff at 
> 3D
> or "vector" points in 3D space.
> But what if I'd just like to add text labels or other stuff at 
> (scaled?)
> 2D points in the 2D frame within which the 3D graphic is drawn, 
> entirely
> independent of the 3D graphic and its coordinate system?  Any simple 
> way
> to do this?
> (Would my favorite graphics command, DisplayTogether[ ], allow
> overlaying or superposing a 2D graphic on a 3D graphic?  I can try this
> for myself, and will, but perhaps someone else already knows the 
> answer.)
You can always convert a 3D graphic ot a 2D one:

gr = Graphics[Plot3D[x^2 -
       y^2, {x, -1, 1}, {y, -1, 1}, DisplayFunction -> Identity]];

Show[gr, Graphics[Text["hello", {0.5, 0.7}]]]

and so on.

I have no use for DisplayTogether but as you can see Show works as 
might be expected.

Andrzej Kozlowski
Chiba, Japan

  • Prev by Date: Re: Re: finding explicit rule for series
  • Next by Date: iterative b -normal examples from one of Bailey's papers
  • Previous by thread: Adding text labels and such to 3D plots?
  • Next by thread: Re: Adding text labels and such to 3D plots?