Author |
Topic |
|
DataConv
Germany
60 Posts |
Posted - 08/16/2010 : 05:12:56 AM
|
Origin Ver. and Service Release (Select Help-->About Origin): 8.1G SR3 Operating System: XP Pro SP3
Hello, currently i do have the task to visualize (scattered) 3D vectors in a 3D orthogonal coordinate system XYZ. This is not an easy tasks, however i succeeded. Nevertheless, there are annoying things for the plotting. When using the 3D-(line-)plot, you have an left-hand coordinate system (X positive right, Y positive front and Z positive up). However, for mathematically correct issues you need a right-hand sided coordinate system. It would be nice to have a switch to automatically correct this issue. Of course you can exchange two axis (e.g. swap y and z) to get the same result. However, the swaping introduces other problems (rotation e.g.)... Besides: it would also be nice to plot (3D-)vectors in a 3D matrix as can be done with MatLab/SciLab... |
|
Penn
China
644 Posts |
Posted - 08/16/2010 : 11:10:49 PM
|
Hi,
As you mentioned the left-hand coordinate system (X positive right, Y positive front and Z positive up), I think the default coordinate system is not the left-hand coordinate system. You can see the image below, Y positive is back, not front. So, it should be the right-hand coordinate system, right?
The simple way to change the right-hand coordinate system to the left-hand one is to swap the From and To values of Y axis. Double click on the Y axis, then swap the From and To values like below.
And the result is:
I hope that I am not misunderstanding you.
By the way, in our coming version (Origin 8.5), it allows to plot 3D scatter from a matrix.
Penn |
|
|
DataConv
Germany
60 Posts |
Posted - 08/17/2010 : 01:42:08 AM
|
You are right - in a new graph i also have a right-handed coordinate system. Have to figure out why it isn't in my older ones... Another problem with these kind of diagrams i have is the optical rotating. With the tool to rotate and tilt the diagram i don't succeed to arrange the axis in the following manner: horizontally X, vertically Y and front/back Z. Something like that can be manually adjusted with Layer props/Axis/Rotation X/Y/Z: 95/-1.2/-15 and Perspective: 10... Of course, one can again get the same result with axis swap and direction change (as you showed). However, this direction change did not work always correctly in the past (especially for changes of two or more axis and huge datasets) and i therefore avoid this if possible... |
|
|
Penn
China
644 Posts |
Posted - 08/17/2010 : 04:15:30 AM
|
Hi,
With the graph created by default (looks like the first image above), I can rotate and tilt the graph to get the axis in the manner you want.
Activate the graph, and with the 3D Rotation Toolbar, 1. Click the Rotate Counterclockwise button four times. 2. Click the Tilt Down button about eight times.
For more information about the 3D Rotation Toolbar, please refer to this page.
Penn |
Edited by - Penn on 08/17/2010 04:31:53 AM |
|
|
DataConv
Germany
60 Posts |
Posted - 08/18/2010 : 06:27:07 AM
|
Thanks Penn, I finally managed to arrange the graphics without big hassle... Just one more question: Currently, it seems not possible to group 3D-plots. Will this be an oncoming option? |
|
|
|
Topic |
|
|
|