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
 Difficulty with Converting Graph

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
EdK 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.
5   L A T E S T    R E P L I E S    (Newest First)
EdK 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
EdK 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
Castiel 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 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
yuki_wu 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

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