Author |
Topic |
|
EdK
Ireland
4 Posts |
Posted - 08/09/2021 : 2:28:43 PM
|
Hey everyone,
I'm trying to convert the first graph of this post to the second graph (second graph is from MatLab)
The difficulty is with the x axis. After conversion the x axis is the product of the x and y axes.
To be exact, the new x axis is calculated as x=(2*pi/y)*sine(x)
Would anyone know of a way to convert this within Origin?
Thanks in advance, EdK
First Graph Before Conversion
Second Graph After Conversion(From MatLab)
Further information: 1. First graph is made from a virtual matrix. 2. Data is unevenly distributed. |
|
yuki_wu
896 Posts |
Posted - 08/10/2021 : 01:55:40 AM
|
Hi,
You can convert the virtual matrix to XYZ data, then calculate the new X values and plot a new contour with the new XYZ data.
Select menu Worksheet: Convert to XYZ to open the tool.
Regards, Yuki
|
|
|
EdK
Ireland
4 Posts |
Posted - 08/10/2021 : 05:48:35 AM
|
quote: Originally posted by yuki_wu
Hi,
You can convert the virtual matrix to XYZ data, then calculate the new X values and plot a new contour with the new XYZ data.
Select menu Worksheet: Convert to XYZ to open the tool.
Regards, Yuki
Hey Yuki,
Thank you for your reply. I converted the virtual matrix to XYZ data, and recalculated the x and y columns as in the image below (J1 and I1 contain some constants)
However there is an issue with the graph made from the XYZ data, see below
I'm currently trying to fix this, but any help would be much appricated!
Regards, EdK |
|
|
Castiel
343 Posts |
Posted - 08/10/2021 : 07:28:30 AM
|
quote: Originally posted by EdK
quote: Originally posted by yuki_wu
Hi,
You can convert the virtual matrix to XYZ data, then calculate the new X values and plot a new contour with the new XYZ data.
Select menu Worksheet: Convert to XYZ to open the tool.
Regards, Yuki
Hey Yuki,
Thank you for your reply. I converted the virtual matrix to XYZ data, and recalculated the x and y columns as in the image below (J1 and I1 contain some constants)
However there is an issue with the graph made from the XYZ data, see below
I'm currently trying to fix this, but any help would be much appricated!
Regards, EdK
Make axis2 smaller (I1 * J1)/(B * 1e6)
------------------------------------------
Be The Change
You Want To See
In The World
------------------------------------------
|
|
|
EdK
Ireland
4 Posts |
Posted - 08/10/2021 : 09:04:11 AM
|
quote: Originally posted by Castiel
Hi,
Make axis2 smaller (I1 * J1)/(B * 1e6)
------------------------------------------
Be The Change
You Want To See
In The World
------------------------------------------
Hey Castiel,
I may be misunderstanding, but I've changed the scaling of the axes, and no change was observed.
Regards,
EdK |
Edited by - EdK on 08/10/2021 11:19:20 AM |
|
|
EdK
Ireland
4 Posts |
Posted - 08/10/2021 : 09:09:22 AM
|
quote: Originally posted by EdK
Hey everyone,
I'm trying to convert the first graph of this post to the second graph (second graph is from MatLab)
The difficulty is with the x axis. After conversion the x axis is the product of the x and y axes.
To be exact, the new x axis is calculated as x=(2*pi/y)*sine(x)
Would anyone know of a way to convert this within Origin?
Thanks in advance, EdK
First Graph Before Conversion
Second Graph After Conversion(From MatLab)
Further information: 1. First graph is made from a virtual matrix. 2. Data is unevenly distributed.
To add to this, I've noticed a change in data while I convert the virtual matrix to XYZ data. It seems that some of the data is removed and some of it is manipulated. I'm looking into alternative ways to get the XYZ data.
EdK |
Edited by - EdK on 08/10/2021 09:10:20 AM |
|
|
|
Topic |
|
|
|