Re: How can I graph 3D vectors in Mathematica?
- To: mathgroup at smc.vnet.net
- Subject: [mg67461] Re: How can I graph 3D vectors in Mathematica?
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Mon, 26 Jun 2006 00:13:09 -0400 (EDT)
- Organization: The Open University, Milton Keynes, UK
- References: <e7lf3a$3ln$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Michael wrote: > Hi, I am trying to figure out hout to make Mathematica graph 3D vectors. For example, I would like to graph > > v = <sin(t), t, cos(t)> > > However, I have not been able to figure out what lines to type in to output the graph. > > I'm relatively new to the software, so any info would be great. > > If anyone can help me figure out what to input in order to output the graph of this type of vector, I'd be very thankful! > Hi Michael, Mathematica standard package works only for 2D arrows. To be able to draw 3D arrows, first download and install Harry Calkins' _MyGraphics`Arrow3D`_ [1]. Then, you could evaluate In[10]:= << "Arrow3D`Arrow3D`" In[11]:= Show[Graphics3D[Table[Arrow3D[{0, 0, 0}, {Sin[t], t, Cos[t]}], {t, 0, Pi/2, Pi/10}]]]; to get a bunch of vectors. HTH, Jean-Marc 1. http://library.wolfram.com/infocenter/TechNotes/4117/