Re: Adding text labels and such to 3D plots?
- To: mathgroup at smc.vnet.net
- Subject: [mg52078] Re: [mg52069] Adding text labels and such to 3D plots?
- From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
- Date: Wed, 10 Nov 2004 04:45:16 -0500 (EST)
- References: <200411090637.BAA22845@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
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
http://www.akikoz.net/~andrzej/
http://www.mimuw.edu.pl/~akoz/
- References:
- Adding text labels and such to 3D plots?
- From: AES/newspost <siegman@stanford.edu>
- Adding text labels and such to 3D plots?