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
 How to scale different data sets to same axis?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

ulfhinze

Germany
Posts

Posted - 06/29/2005 :  03:27:30 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

I need to multiply two graphs (datasets), which do not have the same increment in the x-axis. How can that be done in Origin?

Example:
Worksheet 1:
X1; Y1
1; 1
2; 4
3; 9
4; 16
5; 25

Worksheet 2:
X2; Y2
1.0; 5
1.6; 4
2.2; 3
2.8; 4
3.4; 5
4.0; 6
4.6; 5
5.2; 4

How can I multiply these graphs and get x -> y1(x)*y2(x)

Using a simple linear interpolation for the example above the result would be:
X; Y1*Y2
1; 5
2; 13.3
3; 39
4; 96
5; 108.3

Somehow I have to rescale the worksheets to the same x-increment and multiply the interpolated y-data then. But how can that rescaling be done in Origin?

Origin Version: 6.1
Operating System: W2k

Regards,
ulf

ulfhinze

Germany
Posts

Posted - 06/29/2005 :  05:28:22 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I just solved the problem myself:

1. Plot the dataset as a graph.
2. Use Analysis/Interpolate to create an interpolated graph with an appropriate stepsize.
3. Use the dataset generated for this graph.

That's it. It's just in the wrong menu...

Regards,
Ulf

Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 06/29/2005 :  12:04:01 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Ulf,

Analysis > Simple Math interpolates automatically. It overwrites the first dataset so make a copy if you need it.

Mike Buess
Origin WebRing Member
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