       Re: Plot Angle between Vectors

• To: mathgroup at smc.vnet.net
• Subject: [mg62094] Re: [mg62060] Plot Angle between Vectors
• From: "G. Raymond Brown" <gbrown at runbox.com>
• Date: Fri, 11 Nov 2005 02:51:56 -0500 (EST)
• References: <200511100750.CAA07329@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```Florian,

Vectors are straightforwardly represented in Mathematica as ordered
lists, as in vectorA={Ax,Ay,Az}.  If you prefer the notation typically
used in introductory mathematics and physics courses, you can define
xhat={1,0,0}, yhat={0,1,0}, etc.  If you know vector components and want
the angles, it's easy to get them from the definition of the Dot product.

For drawings of vectors, use the Graphics or Graphics3D functions.  Or,
you can download David Park's Drawing packages at
http://home.earthlink.net/~djmp/. (There's a lot of other good stuff
there that may help you learn to use Mathematica.)

-GRB-

Floreian wrote:

> I am a newbie to Mathematica, and i try to plot two vectors with the
> angle in-between. I could not find a code how to plot angles at all!
> Would be great if someone could help! Thanks a lot.
>
>

```

• Prev by Date: Re: Mathematica 1
• Next by Date: Re: Plot Angle between Vectors
• Previous by thread: Plot Angle between Vectors
• Next by thread: Re: Re: Plot Angle between Vectors