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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Difficulty with Converting Graph
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

EdK

Ireland
4 Posts

Posted - 08/09/2021 :  2:28:43 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

EdK

Ireland
4 Posts

Posted - 08/10/2021 :  05:48:35 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Castiel

343 Posts

Posted - 08/10/2021 :  07:28:30 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
------------------------------------------
Go to Top of Page

EdK

Ireland
4 Posts

Posted - 08/10/2021 :  09:04:11 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

EdK

Ireland
4 Posts

Posted - 08/10/2021 :  09:09:22 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000