digichem07
Chemical
- Apr 21, 2006
- 1
I need to draw a simple 3D vector to a point in space. How do I do it? (using MathCad 11.2)
I have data arranged in arrays based on the coordinate value(x-array, y-array, z-array) because thats the only way I can get the points in the right place or to appear at all.
For example...
-------------------------------------------------------
/ 1.995 \
point1x := | 5.235 |
\ -1.193 /
/ 2.390 \
point1y := | 5.235 |
\ -0.292 /
/ 5.548 \
point1z := | -7.681 |
\ -5.076 /
//Plot box
___________________
| |
| | . |
| | |
| | . |
| |________ |
| / . |
| / |
| / |
| |
|___________________|
(point1x,point1y,point1z)
--------------------------------------------------------
This plots the three points I gave coordinates for.
I want to specifically draw vectors from the origin to each point in space, and label them on the graph.
If there's a way to lock the axes @ (0,0,0) that would also be helpful.
Its a directional magnetic field from certain points about a polycyclic aromatic hydrocarbon.
The origin represents the point in space the field strength was computed from. The vectors represent the direction of the magnetic field.
Help!
I have data arranged in arrays based on the coordinate value(x-array, y-array, z-array) because thats the only way I can get the points in the right place or to appear at all.
For example...
-------------------------------------------------------
/ 1.995 \
point1x := | 5.235 |
\ -1.193 /
/ 2.390 \
point1y := | 5.235 |
\ -0.292 /
/ 5.548 \
point1z := | -7.681 |
\ -5.076 /
//Plot box
___________________
| |
| | . |
| | |
| | . |
| |________ |
| / . |
| / |
| / |
| |
|___________________|
(point1x,point1y,point1z)
--------------------------------------------------------
This plots the three points I gave coordinates for.
I want to specifically draw vectors from the origin to each point in space, and label them on the graph.
If there's a way to lock the axes @ (0,0,0) that would also be helpful.
Its a directional magnetic field from certain points about a polycyclic aromatic hydrocarbon.
The origin represents the point in space the field strength was computed from. The vectors represent the direction of the magnetic field.
Help!