The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Plotting 3D vectors

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
amyz Posted - 05/31/2005 : 5:14:59 PM
I have 5 columns of data: x-coordinate, y-coordinate, and the corresponding Fx, Fy, and Fz components at each point. I would like to turn the 3 F components into one F vector, pointing in the direction of F, and scaling as the magnitude of F. Furthermore, I'd like to plot the vectors at their corresponding x-y points. Is this possible?

Basically, I want to create a matrix of 3-D vectors, instead of 1-D values.

Thanks
3   L A T E S T    R E P L I E S    (Newest First)
fzimnoch Posted - 06/07/2005 : 4:05:09 PM
Hi Amy,

Unfortunately in a 3D graph we can’t produce an arrow at the head of the vector. However, you can use the technique discussed in Knowledge Base item 687 “Creating a 3D Vector Plot” which simply associates a sphere shape at the head of the vector leaving the tail without a symbol. The viewer may imagine the vector to be a particle “moving along and leaving a trail”.
To see the Knowledge Base item just click on Support on our Web site and enter the title in the Keyword search window and click Search.

FRED
amyz Posted - 06/07/2005 : 3:11:06 PM
Thanks Fred. Is it possible to somehow manipulate the symbols to point in the direction of the vector? Right now, it seems that any symbol I choose has a fixed direction, so my 3D plot doesn't reveal the direction of the vectors.

~Amy
fzimnoch Posted - 06/03/2005 : 3:00:01 PM
Hi AmyZ

Yes, this is very easy. There are probably several approaches and implementations. Try this one. Basically you have x,y and Fx,Fy,Fz and you want a vector with tail at x,y,0 and length and head that represents F. So just add your Fx, Fy, Fz components to x,y,0 with whatever you choose for appropriate scaling to produce another point at say X,Y,Z.

Arrange in worksheet with empty rows as shown below and plot these pairs of points as 3D-XYZ trajectory to get discrete vectors. You can go to Plot Details and remove drop-downs, add colors, different symbols and make adjustments as necessary.

In columns that are set as X, Y and Z

x, y, 0 tail, first vector
X, Y, Z head first vector
Blank
x, y, 0 tail, second vector
X, Y, Z head second vector
Blank
etc


FRED
quote:

I have 5 columns of data: x-coordinate, y-coordinate, and the corresponding Fx, Fy, and Fz components at each point. I would like to turn the 3 F components into one F vector, pointing in the direction of F, and scaling as the magnitude of F. Furthermore, I'd like to plot the vectors at their corresponding x-y points. Is this possible?

Basically, I want to create a matrix of 3-D vectors, instead of 1-D values.

Thanks


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000